commit 0f2ec865ea02a1b8ac53dc18bfe818b132473328 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Jan 10 13:05:10 2012 +0000 Nobody else likes macros for commands perl-Crypt-Primes.spec | 37 ++++++++++++++++++++----------------- 1 files changed, 20 insertions(+), 17 deletions(-) --- diff --git a/perl-Crypt-Primes.spec b/perl-Crypt-Primes.spec index 87b0276..5836a6e 100644 --- a/perl-Crypt-Primes.spec +++ b/perl-Crypt-Primes.spec @@ -1,17 +1,17 @@ Summary: Provable prime number generator for cryptographic applications Name: perl-Crypt-Primes Version: 0.50 -Release: 12%{?dist} +Release: 13%{?dist} License: GPL+ or Artistic Group: Development/Libraries Url: http://search.cpan.org/dist/Crypt-Primes/ Source0: http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Crypt-Primes-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch BuildRequires: perl(Crypt::Random) >= 0.33 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Math::Pari) >= 2.001804 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This module implements Ueli Maurer's algorithm for generating large provable @@ -25,24 +25,24 @@ Parameters" (1994). %prep %setup -q -n Crypt-Primes-%{version} -%{__sed} -i -e '/^#! *\/usr\/bin\/perl /d' lib/Crypt/Primes.pm +sed -i -e '/^#! *\/usr\/bin\/perl /d' lib/Crypt/Primes.pm %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install -%{__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} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';' -%{__chmod} -R u+w %{buildroot}/* +rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +%{_fixperms} %{buildroot} %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} %files %defattr(-,root,root,-) @@ -53,20 +53,23 @@ Parameters" (1994). %{_mandir}/man3/Crypt::Primes.3pm* %changelog +* Tue Jan 10 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.50-13 +- Nobody else likes macros for commands + * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.50-12 - Perl mass rebuild -* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.50-11 +* Tue Feb 8 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.50-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.50-10 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.50-9 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 0.50-8 -- rebuild against perl 5.10.1 +- Rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.50-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild @@ -75,7 +78,7 @@ Parameters" (1994). - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> 0.50-5 -- rebuild for new perl +- Rebuild for new perl * Sun Aug 12 2007 Paul Howarth <paul@xxxxxxxxxxxx> 0.50-4 - Clarify license as GPL v1 or later, or Artistic (same as perl) -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel