Compare commits

...

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

3 changed files with 76 additions and 18 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/Class-Singleton-1.5.tar.gz
SOURCES/Class-Singleton-1.6.tar.gz

View File

@ -1 +1 @@
c14bc9a494eed4965934e0a429a5f0c8cc4f78ea SOURCES/Class-Singleton-1.5.tar.gz
fe1a90d870542ac415b31b5923a24cb7e29c0c79 SOURCES/Class-Singleton-1.6.tar.gz

View File

@ -1,23 +1,23 @@
Name: perl-Class-Singleton
Version: 1.5
Release: 9%{?dist}
Version: 1.6
Release: 4%{?dist}
Summary: Implementation of a "Singleton" class
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Class-Singleton/
Source0: http://www.cpan.org/authors/id/S/SH/SHAY/Class-Singleton-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
URL: https://metacpan.org/release/Class-Singleton
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))
@ -40,23 +40,81 @@ 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
%clean
rm -rf $RPM_BUILD_ROOT
%files
%license Artistic Copying LICENCE
%doc Changes README
%{perl_vendorlib}/Class/
%{_mandir}/man3/Class::Singleton.3*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-16
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-13
- Perl 5.30 rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-10
- Perl 5.28 rebuild
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild