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.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 | Name:           perl-Module-Install-AutoLicense | ||||||
| Version:        0.08 | Version:        0.10 | ||||||
| Release:        13%{?dist} | Release:        1%{?dist} | ||||||
| Summary:        Module::Install extension to automatically generate LICENSE files | Summary:        Module::Install extension to automatically generate LICENSE files | ||||||
| License:        GPL+ or Artistic | License:        GPL+ or Artistic | ||||||
| Group:          Development/Libraries | Group:          Development/Libraries | ||||||
| URL:            http://search.cpan.org/dist/Module-Install-AutoLicense/ | 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 | 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 | BuildArch:      noarch | ||||||
|  | BuildRequires:  coreutils | ||||||
|  | BuildRequires:  findutils | ||||||
|  | BuildRequires:  make | ||||||
| BuildRequires:  perl >= 1:5.6.0 | BuildRequires:  perl >= 1:5.6.0 | ||||||
| BuildRequires:  perl-generators | BuildRequires:  perl-generators | ||||||
| BuildRequires:  perl(inc::Module::Install) >= 0.85 |  | ||||||
| BuildRequires:  perl(base) | BuildRequires:  perl(base) | ||||||
|  | BuildRequires:  perl(Config) | ||||||
| BuildRequires:  perl(Capture::Tiny) >= 0.05 | BuildRequires:  perl(Capture::Tiny) >= 0.05 | ||||||
| BuildRequires:  perl(File::Path) | BuildRequires:  perl(File::Path) | ||||||
| BuildRequires:  perl(File::Temp) | BuildRequires:  perl(File::Temp) | ||||||
|  | BuildRequires:  perl(lib) | ||||||
|  | BuildRequires:  perl(inc::Module::Install) >= 0.85 | ||||||
| BuildRequires:  perl(Module::Install) >= 0.85 | BuildRequires:  perl(Module::Install) >= 0.85 | ||||||
| BuildRequires:  perl(Module::Install::Base) | BuildRequires:  perl(Module::Install::Base) | ||||||
|  | BuildRequires:  perl(Module::Install::Can) | ||||||
| BuildRequires:  perl(Module::Install::GithubMeta) | 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(Software::License) >= 0.01 | ||||||
|  | BuildRequires:  perl(strict) | ||||||
| BuildRequires:  perl(Test::More) >= 0.47 | BuildRequires:  perl(Test::More) >= 0.47 | ||||||
| BuildRequires:  perl(Test::Pod) >= 1.00 | BuildRequires:  perl(Test::Pod) >= 1.00 | ||||||
| BuildRequires:  perl(Test::Pod::Coverage) >= 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(Module::Install) >= 0.85 | ||||||
| Requires:       perl(Software::License) >= 0.01 | Requires:       perl(Software::License) >= 0.01 | ||||||
| Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) | Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) | ||||||
| @ -32,20 +46,18 @@ user side it does nothing. | |||||||
| 
 | 
 | ||||||
| %prep | %prep | ||||||
| %setup -q -n Module-Install-AutoLicense-%{version} | %setup -q -n Module-Install-AutoLicense-%{version} | ||||||
|  | %patch0 -p1 | ||||||
| rm -r inc | rm -r inc | ||||||
| sed -i -e '/^inc\// d' MANIFEST | sed -i -e '/^inc\// d' MANIFEST | ||||||
| find -type f -exec chmod -x {} + | find -type f -exec chmod -x {} + | ||||||
| 
 | 
 | ||||||
| %build | %build | ||||||
| %{__perl} Makefile.PL INSTALLDIRS=vendor | perl Makefile.PL INSTALLDIRS=vendor | ||||||
| make %{?_smp_mflags} | make %{?_smp_mflags} | ||||||
| 
 | 
 | ||||||
| %install | %install | ||||||
| make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | make pure_install DESTDIR=$RPM_BUILD_ROOT | ||||||
| 
 | find $RPM_BUILD_ROOT -type f -name .packlist -delete | ||||||
| find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |  | ||||||
| find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |  | ||||||
| 
 |  | ||||||
| %{_fixperms} $RPM_BUILD_ROOT/* | %{_fixperms} $RPM_BUILD_ROOT/* | ||||||
| 
 | 
 | ||||||
| %check | %check | ||||||
| @ -57,6 +69,9 @@ make test | |||||||
| %{_mandir}/man3/* | %{_mandir}/man3/* | ||||||
| 
 | 
 | ||||||
| %changelog | %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 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-13 | ||||||
| - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user