commit a3f0463ab123b3182964850dde8c9193195bb502 Author: CentOS Sources Date: Tue May 7 05:38:11 2019 -0400 import perl-UNIVERSAL-require-0.18-11.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2cf0691 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/UNIVERSAL-require-0.18.tar.gz diff --git a/.perl-UNIVERSAL-require.metadata b/.perl-UNIVERSAL-require.metadata new file mode 100644 index 0000000..46c76d7 --- /dev/null +++ b/.perl-UNIVERSAL-require.metadata @@ -0,0 +1 @@ +070745bffcf29cc5c09ed2c87d040993436f0727 SOURCES/UNIVERSAL-require-0.18.tar.gz diff --git a/SOURCES/UNIVERSAL-require-0.18-provides.patch b/SOURCES/UNIVERSAL-require-0.18-provides.patch new file mode 100644 index 0000000..48fc6ab --- /dev/null +++ b/SOURCES/UNIVERSAL-require-0.18-provides.patch @@ -0,0 +1,12 @@ +--- lib/UNIVERSAL/require.pm ++++ lib/UNIVERSAL/require.pm +@@ -6,7 +6,8 @@ $UNIVERSAL::require::VERSION = '0.18'; + # So we load it up beforehand to avoid that. + BEGIN { require UNIVERSAL } + +-package UNIVERSAL; ++package # Hide from rpm ++ UNIVERSAL; + + use 5.006; + use strict; diff --git a/SPECS/perl-UNIVERSAL-require.spec b/SPECS/perl-UNIVERSAL-require.spec new file mode 100644 index 0000000..bb9c8e6 --- /dev/null +++ b/SPECS/perl-UNIVERSAL-require.spec @@ -0,0 +1,183 @@ +Name: perl-UNIVERSAL-require +Version: 0.18 +Release: 11%{?dist} +Summary: Require() modules from a variable +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/UNIVERSAL-require/ +Source0: http://search.cpan.org/CPAN/authors/id/N/NE/NEILB/UNIVERSAL-require-%{version}.tar.gz +Patch0: UNIVERSAL-require-0.18-provides.patch +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(strict) +BuildRequires: perl(UNIVERSAL) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(Config) +BuildRequires: perl(Exporter) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.47 +# Runtime +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(UNIVERSAL) + +%description +%{summary}. + +%prep +%setup -q -n UNIVERSAL-require-%{version} + +# Hide "package UNIVERSAL" from rpm to avoid bogus provide +%patch0 + +%build +perl Makefile.PL INSTALLDIRS=vendor +make + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +%{_fixperms} $RPM_BUILD_ROOT + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/UNIVERSAL/ +%{_mandir}/man3/UNIVERSAL::require.3* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.18-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.18-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.18-9 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.18-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.18-7 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.18-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jan 19 2016 Tom Callaway - 0.18-5 +- spec file cleanups + +* Wed Jan 6 2016 Paul Howarth - 0.18-4 +- Hide "package UNIVERSAL" from rpm to avoid need for provides filtering + +* Thu Jun 18 2015 Fedora Release Engineering - 0.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 0.18-2 +- Perl 5.22 rebuild + +* Wed Feb 25 2015 Paul Howarth - 0.18-1 +- Update to 0.18 + - Skip the taint test if Perl was compiled without taint support + - Changed use of "use vars" to "our" + - Added strict and warnings to PREREQ_PM +- Classify buildreqs by usage + +* Wed Aug 27 2014 Jitka Plesnikova - 0.17-3 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Apr 19 2014 Paul Howarth - 0.17-1 +- Update to 0.17 + - Changed the repository meta_merge to the new format + - Tweaked format (mainly release dates) to conform to CPAN::Changes::Spec + - Added README + - Specified min version of perl 5.6.0 + - Now "use warnings" + - Check for valid module names (CPAN RT#94866) + - Changed used of die() to croak() (CPAN RT#23113) + - Fixed typo in pod +- New upstream maintainer NEILB -> update source URL + +* Sun Aug 04 2013 Fedora Release Engineering - 0.13-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 0.13-13 +- Perl 5.18 rebuild + +* Mon Feb 25 2013 Paul Howarth - 0.13-12 +- BR: perl(lib) and perl(ExtUtils::MakeMaker) to fix FTBFS (#914324) +- Drop %%defattr, redundant since rpm 4.4 +- Don't need to remove empty directories from the buildroot +- Use %%{_fixperms} macro rather than our own chmod incantation +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't use macros for commands + +* Thu Feb 14 2013 Fedora Release Engineering - 0.13-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.13-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Petr Pisar - 0.13-9 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.13-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 17 2011 Marcela Mašláňová - 0.13-7 +- Perl mass rebuild + +* Thu Apr 14 2011 Paul Howarth - 0.13-6 +- Tweak provides filter to work with rpm >= 4.9 too + +* Wed Feb 09 2011 Fedora Release Engineering - 0.13-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 23 2010 Marcela Maslanova - 0.13-4 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Fri May 07 2010 Marcela Maslanova - 0.13-3 +- Mass rebuild with perl-5.12.0 + +* Fri Dec 4 2009 Stepan Kasal - 0.13-2 +- rebuild against perl 5.10.1 + +* Wed Oct 7 2009 Marcela Mašláňová - 0.13-1 +- update to new upstream release + +* Sun Jul 26 2009 Fedora Release Engineering - 0.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.11-4 +- Rebuild for perl 5.10 (again) + +* Sun Jan 20 2008 Tom "spot" Callaway 0.11-3 +- rebuild for new perl + +* Sun Aug 26 2007 Tom "spot" Callaway 0.11-2 +- license tag fix + +* Wed Jan 17 2007 Tom "spot" Callaway 0.11-1 +- bump to 0.11 + +* Mon Sep 11 2006 Tom "spot" Callaway 0.10-2 +- get rid of false provide + +* Mon Sep 4 2006 Tom "spot" Callaway 0.10-1 +- initial package for Fedora