rpms/perl-Crypt-Random/devel perl-Crypt-Random.spec,1.2,1.3
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Thu Mar 8 12:13:33 UTC 2007
Author: pghmcfc
Update of /cvs/extras/rpms/perl-Crypt-Random/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22774
Modified Files:
perl-Crypt-Random.spec
Log Message:
Buildrequire perl-devel for Fedora 7 onwards
Index: perl-Crypt-Random.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Crypt-Random/devel/perl-Crypt-Random.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-Crypt-Random.spec 29 Aug 2006 17:12:39 -0000 1.2
+++ perl-Crypt-Random.spec 8 Mar 2007 12:13:00 -0000 1.3
@@ -1,7 +1,7 @@
Summary: Cryptographically Secure, True Random Number Generator
Name: perl-Crypt-Random
Version: 1.25
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Crypt-Random/
@@ -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(Class::Loader) >= 2.00
+BuildRequires: perl(Math::Pari) >= 2.001804
+BuildRequires: perl(Class::Loader) >= 2.00
+%if 0%{?fedora} > 6
+BuildRequires: perl-devel
+%endif
%description
Crypt::Random is an interface module to the /dev/random device found on most
@@ -37,20 +40,24 @@
%{__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
%{_bindir}/makerandom
%{perl_vendorlib}/Crypt/
%{_mandir}/man3/Crypt::Random.3pm*
%changelog
+* Thu Mar 8 2007 Paul Howarth <paul at city-fan.org> 1.25-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> 1.25-2
- FE6 mass rebuild
More information about the fedora-extras-commits
mailing list