rpms/perl-Math-GMP/devel perl-Math-GMP.spec,1.4,1.5

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


Author: pghmcfc

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

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


Index: perl-Math-GMP.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Math-GMP/devel/perl-Math-GMP.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-Math-GMP.spec	30 Aug 2006 07:14:59 -0000	1.4
+++ perl-Math-GMP.spec	8 Mar 2007 15:40:44 -0000	1.5
@@ -1,7 +1,7 @@
 Summary:	High speed arbitrary size integer math
 Name:		perl-Math-GMP
 Version:	2.04
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	LGPL
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Math-GMP/
@@ -10,6 +10,9 @@
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildRequires:	gmp-devel
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
 
 %description
 Math::GMP was designed to be a drop-in replacement both for Math::BigInt and
@@ -35,20 +38,24 @@
 %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
 /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
 /usr/bin/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
 %{__chmod} -R u+w %{buildroot}/*
 
 %clean
 %{__rm} -rf %{buildroot}
 
 %files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 %doc README Changes LICENSE
 %{perl_vendorarch}/Math/
 %{perl_vendorarch}/auto/Math/
 %{_mandir}/man3/Math::GMP.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 2.04-5
+- Buildrequire perl-devel for Fedora 7 onwards
+- Fix argument order for find with -depth
+
 * Wed Aug 30 2006 Paul Howarth <paul at city-fan.org> 2.04-4
 - FE6 mass rebuild
 




More information about the fedora-extras-commits mailing list