Update to 0.09

- New upstream release 0.09
  - Get rid of DB::single
  - Don't do POD tests by default
- Specify all dependencies
This commit is contained in:
Paul Howarth 2014-11-13 13:28:26 +00:00
parent 50abf58a27
commit b686e073f2
2 changed files with 29 additions and 17 deletions

View File

@ -1,22 +1,30 @@
Name: perl-File-ShareDir-Install
Version: 0.08
Release: 3%{?dist}
Version: 0.09
Release: 1%{?dist}
Summary: Install shared files
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-ShareDir-Install/
Source0: http://www.cpan.org/authors/id/G/GW/GWYN/File-ShareDir-Install-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/G/GW/GWYN/File-ShareDir-Install-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11
# Module Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Dir)
# tests
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Config)
BuildRequires: perl(File::Path)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
File::ShareDir::Install allows you to install read-only data files from a
@ -27,25 +35,29 @@ to locate these files after installation.
%setup -q -n File-ShareDir-Install-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}
%check
make test
make test RELEASE_TESTING=1
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%{perl_vendorlib}/File/
%{_mandir}/man3/File::ShareDir::Install.3*
%changelog
* Thu Nov 13 2014 Paul Howarth <paul@city-fan.org> - 0.09-1
- Update to 0.09
- Get rid of DB::single
- Don't do POD tests by default
- Specify all dependencies
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-3
- Perl 5.20 rebuild

View File

@ -1 +1 @@
bdda798a8582d6d1d2f8149cb738e822 File-ShareDir-Install-0.08.tar.gz
508fd1f977f2e160e7e756c9c73868df File-ShareDir-Install-0.09.tar.gz