commit 98b9a9fe323d89bebd4130118f13ed0d3dbf06eb Author: CentOS Sources Date: Tue May 7 08:27:35 2019 -0400 import perl-Module-Install-AutoLicense-0.10-4.el8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd4953a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Module-Install-AutoLicense-0.10.tar.gz diff --git a/.perl-Module-Install-AutoLicense.metadata b/.perl-Module-Install-AutoLicense.metadata new file mode 100644 index 0000000..15aac3f --- /dev/null +++ b/.perl-Module-Install-AutoLicense.metadata @@ -0,0 +1 @@ +9f2999e740a547f4b1ba725e4ad38c44d1dd7059 SOURCES/Module-Install-AutoLicense-0.10.tar.gz diff --git a/SOURCES/Use-Module-Install-AutoLicense-for-tarball.patch b/SOURCES/Use-Module-Install-AutoLicense-for-tarball.patch new file mode 100644 index 0000000..a01cc2a --- /dev/null +++ b/SOURCES/Use-Module-Install-AutoLicense-for-tarball.patch @@ -0,0 +1,9 @@ +diff -up Module-Install-AutoLicense-0.10/Makefile.PL.orig Module-Install-AutoLicense-0.10/Makefile.PL +--- Module-Install-AutoLicense-0.10/Makefile.PL.orig 2017-02-20 12:26:05.593011837 +0100 ++++ Module-Install-AutoLicense-0.10/Makefile.PL 2017-02-20 12:27:11.288726594 +0100 +@@ -1,4 +1,5 @@ + use if ! ( grep { $_ eq '.' } @INC ), qw[lib .]; ++use lib './lib'; + use strict; + use inc::Module::Install; + use Config; diff --git a/SPECS/perl-Module-Install-AutoLicense.spec b/SPECS/perl-Module-Install-AutoLicense.spec new file mode 100644 index 0000000..65ed8e2 --- /dev/null +++ b/SPECS/perl-Module-Install-AutoLicense.spec @@ -0,0 +1,121 @@ +Name: perl-Module-Install-AutoLicense +Version: 0.10 +Release: 4%{?dist} +Summary: Module::Install extension to automatically generate LICENSE files +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Install-AutoLicense/ +Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-AutoLicense-%{version}.tar.gz +Patch0: Use-Module-Install-AutoLicense-for-tarball.patch +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-interpreter >= 1:5.6.0 +BuildRequires: perl-generators +BuildRequires: perl(base) +BuildRequires: perl(Config) +BuildRequires: perl(Capture::Tiny) >= 0.05 +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Temp) +BuildRequires: perl(lib) +BuildRequires: perl(inc::Module::Install) >= 0.85 +BuildRequires: perl(Module::Install) >= 0.85 +BuildRequires: perl(Module::Install::Base) +BuildRequires: perl(Module::Install::Can) +BuildRequires: perl(Module::Install::GithubMeta) +BuildRequires: perl(Module::Install::Makefile) +BuildRequires: perl(Module::Install::Metadata) +BuildRequires: perl(Module::Install::WriteAll) +BuildRequires: perl(Software::License) >= 0.01 +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +BuildRequires: perl(vars) +BuildRequires: perl(warnings) +BuildRequires: sed +Requires: perl(Module::Install) >= 0.85 +Requires: perl(Software::License) >= 0.01 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Module::Install::AutoLicense is a Module::Install extension that generates +a LICENSE file automatically whenever the author runs Makefile.PL. On the +user side it does nothing. + +%prep +%setup -q -n Module-Install-AutoLicense-%{version} +%patch0 -p1 +rm -r inc +sed -i -e '/^inc\// d' MANIFEST +find -type f -exec chmod -x {} + + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 0.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 05 2017 Jitka Plesnikova - 0.10-2 +- Perl 5.26 rebuild + +* Mon Feb 20 2017 Jitka Plesnikova - 0.10-1 +- 0.10 bump + +* Sat Feb 11 2017 Fedora Release Engineering - 0.08-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.08-12 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.08-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.08-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 06 2015 Jitka Plesnikova - 0.08-9 +- Perl 5.22 rebuild + +* Fri Aug 29 2014 Jitka Plesnikova - 0.08-8 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.08-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Petr Pisar - 0.08-6 +- Perl 5.18 rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.08-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.08-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.08-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 29 2012 Petr Pisar - 0.08-2 +- Perl 5.16 rebuild + +* Mon Jun 25 2012 Jitka Plesnikova 0.08-1 +- Specfile autogenerated by cpanspec 1.78.