From 654e12e813084610a45dbc2d274cffd11e55ab10 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 27 Jun 2017 08:23:59 +0100 Subject: [PATCH] Update to 1.6 and drop EL-5 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .rpmlint | 3 +++ perl-String-CRC32.spec | 43 +++++++++++++++++++++++++++++------------- sources | 2 +- 3 files changed, 34 insertions(+), 14 deletions(-) create mode 100644 .rpmlint diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..f2904d1 --- /dev/null +++ b/.rpmlint @@ -0,0 +1,3 @@ +from Config import * + +addFilter("spelling-error %description -l en_US checksums -> ") diff --git a/perl-String-CRC32.spec b/perl-String-CRC32.spec index 25c354f..0df7098 100644 --- a/perl-String-CRC32.spec +++ b/perl-String-CRC32.spec @@ -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 - 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 - 1.5-11 - Perl 5.26 rebuild @@ -162,7 +179,7 @@ rm -rf %{buildroot} * Wed Aug 02 2006 Warren Togami 1.4-2 - bump -* Wed Jul 12 2006 Jesse Keating +* Wed Jul 12 2006 Jesse Keating - rebuild * Wed May 31 2006 Jason Vas Dias - 1.4-1.FC6 @@ -185,5 +202,5 @@ rm -rf %{buildroot} * Fri Dec 16 2005 Jason Vas Dias - 0:1.03-1 - Initial build. -- Required by lftp-3.3.x+ +- Required by lftp-3.3.x+ - Imported to fix bug 176175 diff --git a/sources b/sources index 5285cf6..e75234c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a9516454722823bd7965d1128d53869 String-CRC32-1.5.tar.gz +SHA512 (String-CRC32-1.6.tar.gz) = e8915066edca5407de5c42cf6ec6367cfc8662d3c353ee7b9150e372fccbca136946a8e30ec18f4ccba3a08d4864387f3cad01b3b0117e019927b72c9081fe39