Update to 0.11
- New upstream release 0.11 - Release with new tooling - This release by ETHER → update source URL - Simpify find command using -delete
This commit is contained in:
parent
392b003cae
commit
43de051cfa
@ -1,15 +1,18 @@
|
||||
Name: perl-File-ShareDir-Install
|
||||
Version: 0.10
|
||||
Release: 5%{?dist}
|
||||
Version: 0.11
|
||||
Release: 1%{?dist}
|
||||
Summary: Install shared files
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/File-ShareDir-Install/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/G/GW/GWYN/File-ShareDir-Install-%{version}.tar.gz
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/File-ShareDir-Install-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Exporter)
|
||||
@ -20,10 +23,8 @@ BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(Module::Metadata)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Release Tests
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
@ -36,23 +37,31 @@ to locate these files after installation.
|
||||
%setup -q -n File-ShareDir-Install-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test RELEASE_TESTING=1
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%license LICENSE
|
||||
%doc Changes CONTRIBUTING README
|
||||
%{perl_vendorlib}/File/
|
||||
%{_mandir}/man3/File::ShareDir::Install.3*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 8 2016 Paul Howarth <paul@city-fan.org> - 0.11-1
|
||||
- Update to 0.11
|
||||
- Release with new tooling
|
||||
- This release by ETHER → update source URL
|
||||
- BR: perl-generators
|
||||
- Simpify find command using -delete
|
||||
|
||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.10-5
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user