From c8d4b1f0cfa360a2bde70bed09fbac0d0a07b0ef Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 3 Dec 2020 14:19:15 +0000 Subject: [PATCH] Update to 1.6 - New upstream release 1.6 - Fixed confusing Changes entry about Perl's licensing terms (CPAN RT#132843) - Added optional Changes testing (skipped unless AUTHOR_TESTING) - Reformatted Changes file as per CPAN::Changes::Spec - Added optional POD coverage testing (skipped unless AUTHOR_TESTING) - Added optional Perl::Critic testing (skipped unless AUTHOR_TESTING) - Made code Perl::Critic clean - Added optional POD testing (skipped unless AUTHOR_TESTING) - Included GitHub repository URLs in metadata now that source code has been uploaded to GitHub (as of version 1.5) - Included META.json file in addition to META.yml - Set minimum required ExtUtils::MakeMaker version to 6.64 to ensure that all parameters used are supported, to save jumping through hoops to support earlier versions (this should not be a problem since ExtUtils::MakeMaker 6.64 is easily installed into Perl 5.8.1 and above, that being the whole point of the new choice of minimum supported Perl version) - Set minimum required Perl version to 5.8.1; this is in line with the minimum requirement of the "Perl Toolchain" - Corrected typo in a comment (CPAN RT#86336) - Use author-independent source URL - Specify all build dependencies - Drop redundant buildroot cleaning in %install section - Simplify find command using -delete - Fix permissions verbosely - Package Artistic, Copying and LICENCE licence files --- perl-Class-Singleton.rpmlintrc | 4 +++ perl-Class-Singleton.spec | 49 +++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 44 insertions(+), 11 deletions(-) create mode 100644 perl-Class-Singleton.rpmlintrc diff --git a/perl-Class-Singleton.rpmlintrc b/perl-Class-Singleton.rpmlintrc new file mode 100644 index 0000000..8cf9cc7 --- /dev/null +++ b/perl-Class-Singleton.rpmlintrc @@ -0,0 +1,4 @@ +from Config import * + +addFilter("spelling-error %description -l en_US spooler -> ") +addFilter("spelling-error %description -l en_US instantiation -> ") diff --git a/perl-Class-Singleton.spec b/perl-Class-Singleton.spec index 3ef9f19..969923d 100644 --- a/perl-Class-Singleton.spec +++ b/perl-Class-Singleton.spec @@ -1,21 +1,23 @@ Name: perl-Class-Singleton -Version: 1.5 -Release: 17%{?dist} +Version: 1.6 +Release: 1%{?dist} Summary: Implementation of a "Singleton" class License: GPL+ or Artistic URL: https://metacpan.org/release/Class-Singleton -Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/Class-Singleton-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Class/Class-Singleton-%{version}.tar.gz BuildArch: noarch # Module Build -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 # Module Runtime BuildRequires: perl(strict) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(base) -BuildRequires: perl(lib) BuildRequires: perl(Test::More) # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -38,20 +40,47 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test %files +%license Artistic Copying LICENCE %doc Changes README %{perl_vendorlib}/Class/ %{_mandir}/man3/Class::Singleton.3* %changelog +* Thu Dec 3 2020 Paul Howarth - 1.6-1 +- Update to 1.6 + - Fixed confusing Changes entry about Perl's licensing terms (CPAN RT#132843) + - Added optional Changes testing (skipped unless AUTHOR_TESTING) + - Reformatted Changes file as per CPAN::Changes::Spec + - Added optional POD coverage testing (skipped unless AUTHOR_TESTING) + - Added optional Perl::Critic testing (skipped unless AUTHOR_TESTING) + - Made code Perl::Critic clean + - Added optional POD testing (skipped unless AUTHOR_TESTING) + - Included GitHub repository URLs in metadata now that source code has been + uploaded to GitHub (as of version 1.5) + - Included META.json file in addition to META.yml + - Set minimum required ExtUtils::MakeMaker version to 6.64 to ensure that all + parameters used are supported, to save jumping through hoops to support + earlier versions (this should not be a problem since ExtUtils::MakeMaker + 6.64 is easily installed into Perl 5.8.1 and above, that being the whole + point of the new choice of minimum supported Perl version) + - Set minimum required Perl version to 5.8.1; this is in line with the + minimum requirement of the "Perl Toolchain" + - Corrected typo in a comment (CPAN RT#86336) +- Use author-independent source URL +- Specify all build dependencies +- Drop redundant buildroot cleaning in %%install section +- Simplify find command using -delete +- Fix permissions verbosely +- Package Artistic, Copying and LICENCE licence files + * Tue Jul 28 2020 Fedora Release Engineering - 1.5-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index e30245e..41cd047 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6a2524f590eda075f4bc929598119241 Class-Singleton-1.5.tar.gz +SHA512 (Class-Singleton-1.6.tar.gz) = 68b637ba57d5da70ac8e7a8a5e1874481681d6a217bb0c58a232d4329c582f32d29b5ac4c60a131bc863c8faf2852c5249bced9d286e87fefe4960e95f35b1ec