Update to 1.6 and drop EL-5 support

- New upstream release 1.6
  - New maintainer: LEEJO
  - Add Changes file
  - Add link to github repo
  - Add strict and warnings
  - Add LICENSE to POD + LICENSE file
  - Add META.* files through make dist
  - Add .travis.yml for CI
- This release by LEEJO → update source URL
- Drop EL-5 support
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %install section
  - Drop explicit %clean section
epel9
Paul Howarth 8 years ago
parent fa914b7b0b
commit 654e12e813

@ -0,0 +1,3 @@
from Config import *
addFilter("spelling-error %description -l en_US checksums -> ")

@ -1,12 +1,10 @@
Name: perl-String-CRC32 Name: perl-String-CRC32
Version: 1.5 Version: 1.6
Release: 11%{?dist} Release: 1%{?dist}
Summary: Perl interface for cyclic redundancy check generation Summary: Perl interface for cyclic redundancy check generation
Group: Development/Libraries
License: Public Domain License: Public Domain
URL: http://search.cpan.org/dist/String-CRC32/ URL: http://search.cpan.org/dist/String-CRC32/
Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/String-CRC32-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
@ -19,6 +17,9 @@ BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime # Module Runtime
BuildRequires: perl(DynaLoader) BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite # Test Suite
# (no additional dependencies) # (no additional dependencies)
# Dependencies # Dependencies
@ -45,25 +46,41 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
make test make test
%clean
rm -rf %{buildroot}
%files %files
%doc README %if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc README.md
%{perl_vendorarch}/String/ %{perl_vendorarch}/String/
%{perl_vendorarch}/auto/String/ %{perl_vendorarch}/auto/String/
%{_mandir}/man3/String::CRC32.3* %{_mandir}/man3/String::CRC32.3*
%changelog %changelog
* Tue Jun 27 2017 Paul Howarth <paul@city-fan.org> - 1.6-1
- Update to 1.6
- New maintainer: LEEJO
- Add Changes file
- Add link to github repo
- Add strict and warnings
- Add LICENSE to POD + LICENSE file
- Add META.* files through make dist
- Add .travis.yml for CI
- This release by LEEJO → update source URL
- Drop EL-5 support
- Drop BuildRoot: and Group: tags
- Drop explicit buildroot cleaning in %%install section
- Drop explicit %%clean section
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-11 * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-11
- Perl 5.26 rebuild - Perl 5.26 rebuild

@ -1 +1 @@
3a9516454722823bd7965d1128d53869 String-CRC32-1.5.tar.gz SHA512 (String-CRC32-1.6.tar.gz) = e8915066edca5407de5c42cf6ec6367cfc8662d3c353ee7b9150e372fccbca136946a8e30ec18f4ccba3a08d4864387f3cad01b3b0117e019927b72c9081fe39

Loading…
Cancel
Save