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:
Paul Howarth 2016-08-08 09:38:04 +01:00
parent 392b003cae
commit 43de051cfa
2 changed files with 21 additions and 12 deletions

View File

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

View File

@ -1 +1 @@
37fb7fa72ce7184516dd022aba62f524 File-ShareDir-Install-0.10.tar.gz
61107e6ce6eee42bf29525b1a4d029e0 File-ShareDir-Install-0.11.tar.gz