Blame SPECS/perl-version.spec

e511ca
%{?scl:%scl_package perl-version}
e511ca
e511ca
# Run optional test
e511ca
%if ! (0%{?rhel}) && ! (0%{?scl:1})
e511ca
%bcond_without perl_version_enables_optional_test
e511ca
%else
e511ca
%bcond_with perl_version_enables_optional_test
e511ca
%endif
e511ca
e511ca
Name:           %{?scl_prefix}perl-version
e511ca
Epoch:          7
e511ca
Version:        0.99.24
e511ca
%global module_version 0.9924
e511ca
Release:        451%{?dist}
e511ca
Summary:        Perl extension for Version Objects
e511ca
License:        GPL+ or Artistic
e511ca
URL:            https://metacpan.org/release/version
e511ca
Source0:        https://cpan.metacpan.org/authors/id/J/JP/JPEACOCK/version-%{module_version}.tar.gz
e511ca
# Do not clobber memory when switching a locale, Perl GH#17054, in Perl 5.31.5
e511ca
Patch0:         version-0.9924-ensure-locale_name_on_entry-isn-t-clobbered.patch
e511ca
# Build
e511ca
BuildRequires:  findutils
e511ca
BuildRequires:  gcc
e511ca
BuildRequires:  make
e511ca
BuildRequires:  %{?scl_prefix}perl-devel
e511ca
BuildRequires:  %{?scl_prefix}perl-generators
e511ca
BuildRequires:  %{?scl_prefix}perl-interpreter
e511ca
BuildRequires:  %{?scl_prefix}perl(Config)
e511ca
# ExtUtils::CBuilder not helpful
e511ca
BuildRequires:  %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
e511ca
BuildRequires:  %{?scl_prefix}perl(File::Temp) >= 0.13
e511ca
BuildRequires:  %{?scl_prefix}perl(strict)
e511ca
# Runtime
e511ca
BuildRequires:  %{?scl_prefix}perl(B)
e511ca
BuildRequires:  %{?scl_prefix}perl(Carp)
e511ca
BuildRequires:  %{?scl_prefix}perl(constant)
e511ca
BuildRequires:  %{?scl_prefix}perl(if)
e511ca
BuildRequires:  %{?scl_prefix}perl(locale)
e511ca
BuildRequires:  %{?scl_prefix}perl(overload)
e511ca
BuildRequires:  %{?scl_prefix}perl(POSIX)
e511ca
BuildRequires:  %{?scl_prefix}perl(UNIVERSAL)
e511ca
BuildRequires:  %{?scl_prefix}perl(warnings)
e511ca
BuildRequires:  %{?scl_prefix}perl(warnings::register)
e511ca
BuildRequires:  %{?scl_prefix}perl(XSLoader)
e511ca
# Tests only
e511ca
BuildRequires:  %{?scl_prefix}perl(Data::Dumper)
e511ca
BuildRequires:  %{?scl_prefix}perl(File::Basename)
e511ca
BuildRequires:  %{?scl_prefix}perl(File::Spec)
e511ca
BuildRequires:  %{?scl_prefix}perl(IO::Handle)
e511ca
BuildRequires:  %{?scl_prefix}perl(lib)
e511ca
BuildRequires:  %{?scl_prefix}perl(List::Util)
e511ca
BuildRequires:  %{?scl_prefix}perl(parent)
e511ca
BuildRequires:  %{?scl_prefix}perl(Test::Harness)
e511ca
BuildRequires:  %{?scl_prefix}perl(Test::More) >= 0.45
e511ca
# Optional tests
e511ca
%if %{with perl_version_enables_optional_test} && ! %{defined perl_bootstrap}
e511ca
BuildRequires:  %{?scl_prefix}perl(Test::Taint)
e511ca
%endif
e511ca
Requires:       %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
e511ca
Requires:       %{?scl_prefix}perl(B)
e511ca
Requires:       %{?scl_prefix}perl(Carp)
e511ca
Requires:       %{?scl_prefix}perl(locale)
e511ca
Requires:       %{?scl_prefix}perl(UNIVERSAL)
e511ca
Requires:       %{?scl_prefix}perl(warnings)
e511ca
Requires:       %{?scl_prefix}perl(XSLoader)
e511ca
e511ca
%{?perl_default_filter}
e511ca
# version::vxs is private module (see bug #633775)
e511ca
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(version::vxs\\)
e511ca
e511ca
%description
e511ca
Version objects were added to Perl in 5.10. This module implements version
e511ca
objects for older version of Perl and provides the version object API for
e511ca
all versions of Perl. All previous releases before 0.74 are deprecated and
e511ca
should not be used due to incompatible API changes. Version 0.77 introduces
e511ca
the new 'parse' and 'declare' methods to standardize usage. You are
e511ca
strongly urged to set 0.77 as a minimum in your code.
e511ca
e511ca
%prep
e511ca
%setup -q -n version-%{module_version}
e511ca
%patch0 -p1
e511ca
e511ca
%build
e511ca
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" UNINST=0 NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
e511ca
e511ca
%install
e511ca
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
e511ca
find %{buildroot} -type f -name '*.bs' -size 0 -delete
e511ca
%{_fixperms} %{buildroot}/*
e511ca
e511ca
%check
e511ca
%{?scl:scl enable %{scl} '}make test%{?scl:'}
e511ca
e511ca
%files
e511ca
%doc CHANGES README
e511ca
%doc %{perl_vendorarch}/version.pod
e511ca
%dir %{perl_vendorarch}/version/
e511ca
%doc %{perl_vendorarch}/version/Internals.pod
e511ca
%{perl_vendorarch}/auto/version/
e511ca
%{perl_vendorarch}/version.pm
e511ca
%{perl_vendorarch}/version/vpp.pm
e511ca
%{perl_vendorarch}/version/vxs.pm
e511ca
%{perl_vendorarch}/version/regex.pm
e511ca
%{_mandir}/man3/version.3pm*
e511ca
%{_mandir}/man3/version::Internals.3pm*
e511ca
e511ca
%changelog
e511ca
* Thu Jan 02 2020 Jitka Plesnikova <jplesnik@redhat.com> - 7:0.99.24-451
e511ca
- SCL
e511ca
e511ca
* Mon Nov 25 2019 Petr Pisar <ppisar@redhat.com> - 7:0.99.24-441
e511ca
- Do not clobber memory when switching a locale (Perl GH#17054)
e511ca
e511ca
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7:0.99.24-440
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e511ca
e511ca
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 7:0.99.24-439
e511ca
- Perl 5.30 re-rebuild of bootstrapped packages
e511ca
e511ca
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 7:0.99.24-438
e511ca
- Increase release to favour standalone package
e511ca
e511ca
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7:0.99.24-6
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e511ca
e511ca
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7:0.99.24-5
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e511ca
e511ca
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7:0.99.24-4
e511ca
- Perl 5.28 re-rebuild of bootstrapped packages
e511ca
e511ca
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7:0.99.24-3
e511ca
- Perl 5.28 re-rebuild of bootstrapped packages
e511ca
e511ca
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 7:0.99.24-2
e511ca
- Perl 5.28 rebuild
e511ca
e511ca
* Fri Apr 20 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6:0.99.24-1
e511ca
- 0.9924 bump
e511ca
e511ca
* Mon Apr 16 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6:0.99.23-1
e511ca
- 0.9923 bump
e511ca
e511ca
* Thu Apr 12 2018 Petr Pisar <ppisar@redhat.com> - 6:0.99.21-1
e511ca
- 0.9921 bump
e511ca
e511ca
* Mon Apr 09 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6:0.99.20-1
e511ca
- 0.9920 bump
e511ca
e511ca
* Fri Mar 09 2018 Petr Pisar <ppisar@redhat.com> - 6:0.99.18-7
e511ca
- Remove useless build-time dependency on ExtUtils::CBuilder
e511ca
- Fix documentation about numify() and stringify() trailing zeros
e511ca
  (CPAN RT#64635, CPAN RT#122858)
e511ca
e511ca
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6:0.99.18-6
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e511ca
e511ca
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6:0.99.18-5
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e511ca
e511ca
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6:0.99.18-4
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e511ca
e511ca
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6:0.99.18-3
e511ca
- Perl 5.26 re-rebuild of bootstrapped packages
e511ca
e511ca
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6:0.99.18-2
e511ca
- Perl 5.26 rebuild
e511ca
e511ca
* Fri Apr 21 2017 Jitka Plesnikova <jplesnik@redhat.com> - 5:0.99.18-1
e511ca
- 0.9918 bump
e511ca
e511ca
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5:0.99.17-2
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e511ca
e511ca
* Thu Jun 02 2016 Jitka Plesnikova <jplesnik@redhat.com> - 5:0.99.17-1
e511ca
- 0.9917 bump
e511ca
e511ca
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 5:0.99.16-365
e511ca
- Increase release to favour standalone package
e511ca
e511ca
* Mon Mar 21 2016 Jitka Plesnikova <jplesnik@redhat.com> - 5:0.99.16-1
e511ca
- 0.9916 bump
e511ca
e511ca
* Sun Mar 06 2016 Petr Šabata <contyk@redhat.com> - 5:0.99.15-1
e511ca
- 0.9915 bump, documentation updated
e511ca
e511ca
* Thu Feb 25 2016 Petr Šabata <contyk@redhat.com> - 5:0.99.14-1
e511ca
- 0.9914 bump
e511ca
e511ca
* Wed Feb 17 2016 Petr Šabata <contyk@redhat.com> - 5:0.99.13-1
e511ca
- 0.9913 bump
e511ca
- Backwards-incompatible changes in normal/numify/stringify
e511ca
e511ca
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5:0.99.12-5
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e511ca
e511ca
* Mon Jul  6 2015 Paul Howarth <paul@city-fan.org> - 5:0.99.12-4
e511ca
- Use UNINST=0 to avoid trying to mess with existing installation during
e511ca
  rebuild (#1239335)
e511ca
e511ca
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5:0.99.12-3
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e511ca
e511ca
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4:0.99.12-2
e511ca
- Perl 5.22 rebuild
e511ca
- Increase Epoch to favour standalone package
e511ca
e511ca
* Tue Feb 03 2015 Petr Pisar <ppisar@redhat.com> - 4:0.99.12-1
e511ca
- 0.9912 bump
e511ca
e511ca
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4:0.99.09-3
e511ca
- Increase Epoch to favour standalone package
e511ca
e511ca
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.09-2
e511ca
- Perl 5.20 rebuild
e511ca
e511ca
* Wed Aug 20 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.09-1
e511ca
- 0.9909 bump
e511ca
e511ca
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.08-3
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e511ca
e511ca
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.08-2
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e511ca
e511ca
* Thu Feb 27 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.08-1
e511ca
- 0.9908 bump
e511ca
e511ca
* Mon Jan 27 2014 Petr Pisar <ppisar@redhat.com> - 3:0.99.07-2
e511ca
- Specify all dependencies
e511ca
e511ca
* Wed Jan 15 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.07-1
e511ca
- 0.9907 bugfix bump
e511ca
e511ca
* Tue Jan 07 2014 Petr Šabata <contyk@redhat.com> - 3:0.99.06-1
e511ca
- 0.9906 bump
e511ca
e511ca
* Tue Sep 10 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.04-2
e511ca
- Release bump to (hopefully) fix the build
e511ca
e511ca
* Tue Sep 10 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.04-1
e511ca
- 0.9904 bump
e511ca
e511ca
* Mon Aug 26 2013 Petr Šabata <contyk@redhat.com> - 3:0.99.03-1
e511ca
- 0.9903 bump
e511ca
- Prefer %%global over %%define
e511ca
e511ca
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.02-291
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e511ca
e511ca
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 3:0.99.02-290
e511ca
- Increase release to favour standalone package
e511ca
e511ca
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 3:0.99.02-3
e511ca
- Perl 5.18 rebuild
e511ca
e511ca
* Tue Jul 02 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.02-2
e511ca
- Specify all dependencies
e511ca
e511ca
* Thu Mar  7 2013 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.02-1
e511ca
- 0.9902 bump
e511ca
e511ca
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.99.01-2
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e511ca
e511ca
* Mon Sep 17 2012 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99.01-1
e511ca
- 0.9901 bump
e511ca
e511ca
* Tue Aug 28 2012 Jitka Plesnikova <jplesnik@redhat.com> - 3:0.99-241
e511ca
- Add test BR perl(Test::Harness)
e511ca
- Remove %%defattr
e511ca
e511ca
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3:0.99-240
e511ca
- Increase release to replace perl sub-package (bug #848961)
e511ca
e511ca
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 3:0.99-1
e511ca
- 0.99 bump
e511ca
e511ca
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-10
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e511ca
e511ca
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 3:0.88-9
e511ca
- Perl 5.16 rebuild
e511ca
e511ca
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 3:0.88-8
e511ca
- Fix dependencies
e511ca
e511ca
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-7
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e511ca
e511ca
* Tue Aug 16 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3:0.88-6
e511ca
- change path on vendor, so our debuginfo are not conflicting with
e511ca
  perl core debuginfos
e511ca
e511ca
* Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 3:0.88-5
e511ca
- update filtering for rpm 4.9
e511ca
e511ca
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3:0.88-4
e511ca
- Perl mass rebuild
e511ca
e511ca
* Fri Apr 08 2011 Petr Pisar <ppisar@redhat.com> - 3:0.88-3
e511ca
- Unexport private version::vxs module (bug #633775)
e511ca
- Remove BuildRoot stuff
e511ca
e511ca
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3:0.88-2
e511ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e511ca
e511ca
* Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> 3:0.88-1
e511ca
- Update to 0.88
e511ca
- Revert to Makefile.PL flow as upstream dropped Build.PL to avoid circular
e511ca
  dependencies
e511ca
- Install into perl directories rather than vendor directories
e511ca
- Mark Pod files as %%doc
e511ca
e511ca
* Tue Mar 09 2010 Marcela Mašláňová <mmaslano@redhat.com> 3:0.82-1
e511ca
- Specfile autogenerated by cpanspec 1.78.