[packages/perl-AI-NNFlex] - fix man pages built properly

baggins baggins at pld-linux.org
Sun Jan 26 13:36:20 CET 2014


commit 9572b3a2d0713b76bd6799eb23f9e9304e7d499c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jan 26 13:36:08 2014 +0100

    - fix man pages built properly

 build-man.patch     | 8 ++++++++
 perl-AI-NNFlex.spec | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/perl-AI-NNFlex.spec b/perl-AI-NNFlex.spec
index 0980cde..6a7a534 100644
--- a/perl-AI-NNFlex.spec
+++ b/perl-AI-NNFlex.spec
@@ -15,6 +15,7 @@ License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/C/CC/CCOLBOURN/ai-nnflex/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	9d192b7c209ccafbca88d6ac6048b677
+Patch0:		build-man.patch
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 %if %{with tests}
@@ -35,10 +36,10 @@ dokumentacji AI::NNFlex::Backprop dołączonej do tego modułu.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
-	MAN3PODS= \
 	INSTALLDIRS=vendor
 %{__make}
 
diff --git a/build-man.patch b/build-man.patch
new file mode 100644
index 0000000..f2f04c5
--- /dev/null
+++ b/build-man.patch
@@ -0,0 +1,8 @@
+--- AI-NNFlex-0.24/Makefile.PL~	2005-06-16 14:26:40.000000000 +0200
++++ AI-NNFlex-0.24/Makefile.PL	2014-01-26 13:34:57.379481664 +0100
+@@ -5,5 +5,4 @@
+     'NAME'              => 'AI::NNFlex',
+     'VERSION_FROM'      => 'lib/AI/NNFlex.pm', # finds $VERSION
+     'PREREQ_PM'         => {'Math::Matrix'=>0}, 
+-	'MAN3PODS'	=> { },
+ );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-AI-NNFlex.git/commitdiff/9572b3a2d0713b76bd6799eb23f9e9304e7d499c



More information about the pld-cvs-commit mailing list