0.20 bump

This commit is contained in:
Petr Šabata 2015-02-10 10:55:30 +01:00
parent a65a844937
commit 568e6e108a
3 changed files with 22 additions and 10 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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@redhat.com> - 0.20-1
- 0.20 bump
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-10
- Perl 5.20 rebuild

View File

@ -1 +1 @@
baf8cb6c50782416b10f470b2e29bf7a Digest-CRC-0.18.tar.gz
b12f2da6a7f8c4934b872cc0aad4261a Digest-CRC-0.20.tar.gz