0.10 bump

This commit is contained in:
Jitka Plesnikova 2017-02-20 12:50:20 +01:00
parent 21a056538b
commit 811de27193
4 changed files with 35 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/Module-Install-AutoLicense-0.08.tar.gz
/Module-Install-AutoLicense-0.10.tar.gz

View File

@ -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;

View File

@ -1,26 +1,40 @@
Name: perl-Module-Install-AutoLicense
Version: 0.08
Release: 13%{?dist}
Version: 0.10
Release: 1%{?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 >= 1:5.6.0
BuildRequires: perl-generators
BuildRequires: perl(inc::Module::Install) >= 0.85
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))
@ -32,20 +46,18 @@ 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
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -57,6 +69,9 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Feb 20 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-1
- 0.10 bump
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

View File

@ -1 +1 @@
1bdc939ddf41388ee6893f1339726d09 Module-Install-AutoLicense-0.08.tar.gz
SHA512 (Module-Install-AutoLicense-0.10.tar.gz) = 6d631184b90fd2f4c969f61887c4143962b2d292d73de91b0fe06b6d4495764d7b42c5701e6fe0f946751cc2deeffc67567f9ebbb2f37bf067e4e489251e45ee