commit 568e6e108a84e42e905d0c6118d356d504a7006d Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Tue Feb 10 10:55:30 2015 +0100 0.20 bump .gitignore | 1 + perl-Digest-CRC.spec | 29 ++++++++++++++++++++--------- sources | 2 +- 3 files changed, 22 insertions(+), 10 deletions(-) --- diff --git a/.gitignore b/.gitignore index 4c49f40..dd3ecb5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ Digest-CRC-0.14.tar.gz /Digest-CRC-0.16.tar.gz /Digest-CRC-0.17.tar.gz /Digest-CRC-0.18.tar.gz +/Digest-CRC-0.20.tar.gz diff --git a/perl-Digest-CRC.spec b/perl-Digest-CRC.spec index be7a47d..dd433e8 100644 --- a/perl-Digest-CRC.spec +++ b/perl-Digest-CRC.spec @@ -1,16 +1,26 @@ Name: perl-Digest-CRC -Version: 0.18 -Release: 10%{?dist} +Version: 0.20 +Release: 1%{?dist} Summary: Generic CRC functions Group: Development/Libraries License: Public Domain URL: http://search.cpan.org/dist/Digest-CRC Source0: http://search.cpan.org/CPAN/authors/id/O/OL/OLIMAUL/Digest-CRC-%{version}.tar.gz +# Build +BuildRequires: perl +BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Exporter) +# Runtime BuildRequires: perl(DynaLoader) -Requires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) +BuildRequires: perl(vars) +# Tests only +BuildRequires: perl(Fcntl) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(DynaLoader) +Requires: perl(Symbol) %description The Digest::CRC module calculates CRC sums of all sorts. It contains wrapper @@ -20,26 +30,27 @@ functions with the correct parameters for CRC-CCITT, CRC-16 and CRC-32. %setup -qn Digest-CRC-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + chmod -R u+w %{buildroot}/* -find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; %check make test %files -%doc Changes META.yml README t +%doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Digest %{_mandir}/man3/*.3* %changelog +* Mon Feb 09 2015 Petr Šabata <contyk@xxxxxxxxxx> - 0.20-1 +- 0.20 bump + * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.18-10 - Perl 5.20 rebuild diff --git a/sources b/sources index 7da1d8c..58497a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -baf8cb6c50782416b10f470b2e29bf7a Digest-CRC-0.18.tar.gz +b12f2da6a7f8c4934b872cc0aad4261a Digest-CRC-0.20.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