commit 16ab78e4a00cba9888ac1915789f511f592a1501 Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Feb 22 17:43:50 2013 +0100 0.32 bump .gitignore | 1 + perl-Business-CreditCard.spec | 16 ++++++++-------- sources | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) --- diff --git a/.gitignore b/.gitignore index dda30c1..b2e9081 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ Business-CreditCard-0.30.tar.gz /Business-CreditCard-0.31.tar.gz +/Business-CreditCard-0.32.tar.gz diff --git a/perl-Business-CreditCard.spec b/perl-Business-CreditCard.spec index 2a8049a..6cb4ef1 100644 --- a/perl-Business-CreditCard.spec +++ b/perl-Business-CreditCard.spec @@ -1,6 +1,6 @@ Name: perl-Business-CreditCard -Version: 0.31 -Release: 5%{?dist} +Version: 0.32 +Release: 1%{?dist} Summary: Validate/generate credit card check-sums/names License: GPL+ or Artistic Group: Development/Libraries @@ -11,7 +11,8 @@ BuildRequires: perl(ExtUtils::MakeMaker) # Tests only: BuildRequires: perl(Exporter) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description These subroutines tell you whether a credit card number is self-consistent @@ -27,14 +28,13 @@ for F in BINS; do done %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot}/* %check make test diff --git a/sources b/sources index f3a3e7e..4e81bfc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d074980f40c5790e76de4374aeee4d3c Business-CreditCard-0.31.tar.gz +2626c62949def90825e44599796fadf6 Business-CreditCard-0.32.tar.gz -- 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