0.10 bump
This commit is contained in:
		
							parent
							
								
									21a056538b
								
							
						
					
					
						commit
						811de27193
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1,2 @@ | ||||
| /Module-Install-AutoLicense-0.08.tar.gz | ||||
| /Module-Install-AutoLicense-0.10.tar.gz | ||||
|  | ||||
							
								
								
									
										9
									
								
								Use-Module-Install-AutoLicense-for-tarball.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								Use-Module-Install-AutoLicense-for-tarball.patch
									
									
									
									
									
										Normal 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; | ||||
| @ -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 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user