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
This commit is contained in:
parent
a095cb3e90
commit
c8d4b1f0cf
4
perl-Class-Singleton.rpmlintrc
Normal file
4
perl-Class-Singleton.rpmlintrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
from Config import *
|
||||||
|
|
||||||
|
addFilter("spelling-error %description -l en_US spooler -> ")
|
||||||
|
addFilter("spelling-error %description -l en_US instantiation -> ")
|
@ -1,21 +1,23 @@
|
|||||||
Name: perl-Class-Singleton
|
Name: perl-Class-Singleton
|
||||||
Version: 1.5
|
Version: 1.6
|
||||||
Release: 17%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Implementation of a "Singleton" class
|
Summary: Implementation of a "Singleton" class
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: https://metacpan.org/release/Class-Singleton
|
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
|
BuildArch: noarch
|
||||||
# Module Build
|
# Module Build
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
||||||
# Module Runtime
|
# Module Runtime
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(warnings)
|
BuildRequires: perl(warnings)
|
||||||
# Test Suite
|
# Test Suite
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(lib)
|
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
# Runtime
|
# Runtime
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
@ -38,20 +40,47 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make pure_install DESTDIR=%{buildroot}
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
%{_fixperms} -c %{buildroot}
|
||||||
%{_fixperms} $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license Artistic Copying LICENCE
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/Class/
|
%{perl_vendorlib}/Class/
|
||||||
%{_mandir}/man3/Class::Singleton.3*
|
%{_mandir}/man3/Class::Singleton.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 3 2020 Paul Howarth <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.5-17
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-17
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user