rpms/perl-Math-Pari/devel perl-Math-Pari.spec,1.6,1.7

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 16:03:42 UTC 2007


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Math-Pari/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9372

Modified Files:
	perl-Math-Pari.spec 
Log Message:
Buildrequire perl-devel for Fedora 7 onwards


Index: perl-Math-Pari.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Math-Pari/devel/perl-Math-Pari.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- perl-Math-Pari.spec	27 Oct 2006 14:00:20 -0000	1.6
+++ perl-Math-Pari.spec	8 Mar 2007 16:03:10 -0000	1.7
@@ -1,11 +1,11 @@
 # This package includes the pari library source even though that is
 # being introduced to Fedora Extras in its own right (#169703). The
 # rationale for this is:
-# (a) This package patches the library source code
-# (b) This package integrates very tightly with the library and may
-#     break if the library is changed underneath it
-# (c) Functionality is lost if built against an external PARI library
-#     (see the INSTALL file in the distribution)
+# (a)	This package patches the library source code
+# (b)	This package integrates very tightly with the library and may
+#	break if the library is changed underneath it
+# (c)	Functionality is lost if built against an external PARI library
+#	(see the INSTALL file in the distribution)
 
 Summary:	Perl interface to PARI
 Name:		perl-Math-Pari
@@ -14,7 +14,7 @@
 # testing with a development version of PARI, as this expression evaluates
 # the latest version of GP/PARI the perl module was tested with.
 %define pariversion %(echo %{version} | %{__perl} -pi -e 's/(\\d+)\\.(\\d\\d)(\\d\\d).*/sprintf("%d.%d.%d",$1,$2,$3)/e')
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	Artistic or GPL
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Math-Pari/
@@ -22,6 +22,9 @@
 Source1:	http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-%{pariversion}.tgz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
 
 %description
 This package is a Perl interface to the famous library PARI for numerical/
@@ -60,7 +63,7 @@
 %{__rm} -rf %{buildroot}
 
 %files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 %doc Changes README
 %dir %{perl_vendorarch}/Math/
 %exclude %doc %{perl_vendorarch}/Math/libPARI.dumb.pod
@@ -73,6 +76,9 @@
 %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 2.010709-2
+- Buildrequire perl-devel for Fedora 7 onwards
+
 * Fri Oct 27 2006 Paul Howarth <paul at city-fan.org> 2.010709-1
 - Update to 2.010709
 




More information about the fedora-extras-commits mailing list