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