@ -1,12 +1,10 @@
Name: perl-String-CRC32
Version: 1.5
Release: 11 %{?dist}
Version: 1.6
Release: 1%{?dist}
Summary: Perl interface for cyclic redundancy check generation
Group: Development/Libraries
License: Public Domain
URL: http://search.cpan.org/dist/String-CRC32/
Source0: http://search.cpan.org/CPAN/authors/id/S/SO/SOENKE/String-CRC32-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
Source0: http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/String-CRC32-%{version}.tar.gz
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
@ -19,6 +17,9 @@ BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Test Suite
# (no additional dependencies)
# Dependencies
@ -45,25 +46,41 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
make test
%clean
rm -rf %{buildroot}
%files
%doc README
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc README.md
%{perl_vendorarch}/String/
%{perl_vendorarch}/auto/String/
%{_mandir}/man3/String::CRC32.3*
%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
- Perl 5.26 rebuild
@ -162,7 +179,7 @@ rm -rf %{buildroot}
* Wed Aug 02 2006 Warren Togami <wtogami@redhat.com> 1.4-2
- bump
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
- rebuild
* Wed May 31 2006 Jason Vas Dias <jvdias@redhat.com> - 1.4-1.FC6
@ -185,5 +202,5 @@ rm -rf %{buildroot}
* Fri Dec 16 2005 Jason Vas Dias <jvdias@redhat.com> - 0:1.03-1
- Initial build.
- Required by lftp-3.3.x+
- Required by lftp-3.3.x+
- Imported to fix bug 176175