rpms/perl-Crypt-Primes/devel perl-Crypt-Primes.spec,1.2,1.3

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 12:01:19 UTC 2007


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Crypt-Primes/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18917

Modified Files:
	perl-Crypt-Primes.spec 
Log Message:
Buildrequire perl-devel for Fedora 7 onwards


Index: perl-Crypt-Primes.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Crypt-Primes/devel/perl-Crypt-Primes.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Crypt-Primes.spec	29 Aug 2006 17:09:23 -0000	1.2
+++ perl-Crypt-Primes.spec	8 Mar 2007 12:00:46 -0000	1.3
@@ -1,7 +1,7 @@
 Summary:	Provable prime number generator for cryptographic applications
 Name:		perl-Crypt-Primes
 Version:	0.50
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPL or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-Primes/
@@ -9,8 +9,11 @@
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:	noarch
-BuildRequires:	perl(Math::Pari)    >= 2.001804
-BuildRequires:	perl(Crypt::Random) >= 0.33
+BuildRequires:	perl(Math::Pari)	>= 2.001804
+BuildRequires:	perl(Crypt::Random)	>= 0.33
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
 
 %description
 This module implements Ueli Maurer's algorithm for generating large provable
@@ -37,14 +40,14 @@
 %{__rm} -rf %{buildroot}
 %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
 /usr/bin/find %{buildroot} -type f -name .packlist -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 Changes README docs/*
 %{_bindir}/largeprimes
 %{perl_vendorlib}/Crypt/Primes.pm
@@ -52,6 +55,10 @@
 %{_mandir}/man3/Crypt::Primes.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 0.50-3
+- Buildrequire perl-devel for Fedora 7 onwards
+- Fix argument order for find with -depth
+
 * Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 0.50-2
 - FE6 mass rebuild
 




More information about the scm-commits mailing list