Blame SPECS/perl-Class-Singleton.spec

010f9c
Name:           perl-Class-Singleton
010f9c
Version:        1.6
010f9c
Release:        4%{?dist}
010f9c
Summary:        Implementation of a "Singleton" class
010f9c
License:        GPL+ or Artistic
010f9c
URL:            https://metacpan.org/release/Class-Singleton
010f9c
Source0:        https://cpan.metacpan.org/modules/by-module/Class/Class-Singleton-%{version}.tar.gz
010f9c
BuildArch:      noarch
010f9c
# Module Build
010f9c
BuildRequires:  coreutils
010f9c
BuildRequires:  findutils
010f9c
BuildRequires:  make
010f9c
BuildRequires:  perl-generators
010f9c
BuildRequires:  perl-interpreter
010f9c
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.64
010f9c
# Module Runtime
010f9c
BuildRequires:  perl(strict)
010f9c
BuildRequires:  perl(warnings)
010f9c
# Test Suite
010f9c
BuildRequires:  perl(base)
010f9c
BuildRequires:  perl(Test::More)
010f9c
# Runtime
010f9c
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
010f9c
010f9c
%description
010f9c
This is the Class::Singleton module. A Singleton describes an object class
010f9c
that can have only one instance in any system. An example of a Singleton
010f9c
might be a print spooler or system registry. This module implements a
010f9c
Singleton class from which other classes can be derived. By itself, the
010f9c
Class::Singleton module does very little other than manage the
010f9c
instantiation of a single object. In deriving a class from
010f9c
Class::Singleton, your module will inherit the Singleton instantiation
010f9c
method and can implement whatever specific functionality is required.
010f9c
010f9c
%prep
010f9c
%setup -q -n Class-Singleton-%{version}
010f9c
010f9c
%build
010f9c
perl Makefile.PL INSTALLDIRS=vendor
010f9c
make %{?_smp_mflags}
010f9c
010f9c
%install
010f9c
make pure_install DESTDIR=%{buildroot}
010f9c
find %{buildroot} -type f -name .packlist -delete
010f9c
%{_fixperms} -c %{buildroot}
010f9c
010f9c
%check
010f9c
make test
010f9c
010f9c
%files
010f9c
%license Artistic Copying LICENCE
010f9c
%doc Changes README
010f9c
%{perl_vendorlib}/Class/
010f9c
%{_mandir}/man3/Class::Singleton.3*
010f9c
010f9c
%changelog
010f9c
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-4
010f9c
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
010f9c
  Related: rhbz#1991688
010f9c
010f9c
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-3
010f9c
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
010f9c
010f9c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
010f9c
010f9c
* Thu Dec  3 2020 Paul Howarth <paul@city-fan.org> - 1.6-1
010f9c
- Update to 1.6
010f9c
  - Fixed confusing Changes entry about Perl's licensing terms (CPAN RT#132843)
010f9c
  - Added optional Changes testing (skipped unless AUTHOR_TESTING)
010f9c
  - Reformatted Changes file as per CPAN::Changes::Spec
010f9c
  - Added optional POD coverage testing (skipped unless AUTHOR_TESTING)
010f9c
  - Added optional Perl::Critic testing (skipped unless AUTHOR_TESTING)
010f9c
  - Made code Perl::Critic clean
010f9c
  - Added optional POD testing (skipped unless AUTHOR_TESTING)
010f9c
  - Included GitHub repository URLs in metadata now that source code has been
010f9c
    uploaded to GitHub (as of version 1.5)
010f9c
  - Included META.json file in addition to META.yml
010f9c
  - Set minimum required ExtUtils::MakeMaker version to 6.64 to ensure that all
010f9c
    parameters used are supported, to save jumping through hoops to support
010f9c
    earlier versions (this should not be a problem since ExtUtils::MakeMaker
010f9c
    6.64 is easily installed into Perl 5.8.1 and above, that being the whole
010f9c
    point of the new choice of minimum supported Perl version)
010f9c
  - Set minimum required Perl version to 5.8.1; this is in line with the
010f9c
    minimum requirement of the "Perl Toolchain"
010f9c
  - Corrected typo in a comment (CPAN RT#86336)
010f9c
- Use author-independent source URL
010f9c
- Specify all build dependencies
010f9c
- Drop redundant buildroot cleaning in %%install section
010f9c
- Simplify find command using -delete
010f9c
- Fix permissions verbosely
010f9c
- Package Artistic, Copying and LICENCE licence files
010f9c
010f9c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-17
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
010f9c
010f9c
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-16
010f9c
- Perl 5.32 rebuild
010f9c
010f9c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-15
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
010f9c
010f9c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-14
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
010f9c
010f9c
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-13
010f9c
- Perl 5.30 rebuild
010f9c
010f9c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-12
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
010f9c
010f9c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-11
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
010f9c
010f9c
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-10
010f9c
- Perl 5.28 rebuild
010f9c
010f9c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-9
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
010f9c
010f9c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-8
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
010f9c
010f9c
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-7
010f9c
- Perl 5.26 rebuild
010f9c
010f9c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-6
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
010f9c
010f9c
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-5
010f9c
- Perl 5.24 rebuild
010f9c
010f9c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-4
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
010f9c
010f9c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
010f9c
010f9c
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.5-2
010f9c
- Perl 5.22 rebuild
010f9c
010f9c
* Mon Nov 10 2014 Paul Howarth <paul@city-fan.org> - 1.5-1
010f9c
- Update to 1.5
010f9c
  - Work around global destruction order issue (CPAN RT#23568/68526)
010f9c
- This release by SHAY ⇒ update source URL
010f9c
- Drop %%defattr, redundant since rpm 4.4
010f9c
- Don't use macros for commands
010f9c
- Don't need to remove empty directories from the buildroot
010f9c
- Classify buildreqs by usage
010f9c
- Make %%files list more explicit
010f9c
010f9c
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-18
010f9c
- Perl 5.20 rebuild
010f9c
010f9c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-17
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
010f9c
010f9c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-16
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
010f9c
010f9c
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.4-15
010f9c
- Perl 5.18 rebuild
010f9c
010f9c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
010f9c
010f9c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
010f9c
010f9c
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.4-12
010f9c
- Perl 5.16 rebuild
010f9c
010f9c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
010f9c
010f9c
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.4-10
010f9c
- Perl mass rebuild
010f9c
010f9c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-9
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
010f9c
010f9c
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-8
010f9c
- Rebuild to fix problems with vendorarch/lib (#661697)
010f9c
010f9c
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.4-7
010f9c
- Mass rebuild with perl-5.12.0
010f9c
010f9c
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 1.4-6
010f9c
- rebuild against perl 5.10.1
010f9c
010f9c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
010f9c
010f9c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
010f9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
010f9c
010f9c
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4-3
010f9c
- Rebuild for perl 5.10 (again)
010f9c
010f9c
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.4-2
010f9c
- rebuild for new perl
010f9c
010f9c
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.4-1
010f9c
- Update to 1.4.
010f9c
- Update License tag.
010f9c
- Drop our copy of the license text.
010f9c
- Improve Summary.
010f9c
- Make description match cpanspec output.
010f9c
- BR Test::More.
010f9c
010f9c
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.03-4
010f9c
- Use fixperms macro instead of our own chmod incantation.
010f9c
- BR ExtUtils::MakeMaker.
010f9c
010f9c
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.03-3
010f9c
- Canonicalize Source0 URL.
010f9c
- Fix find option order.
010f9c
010f9c
* Thu Sep 08 2005 Steven Pritchard <steve@kspei.com> 1.03-2
010f9c
- Fix permissions on Singleton.pm.
010f9c
010f9c
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 1.03-1
010f9c
- Specfile autogenerated.