[perl-File-ShareDir-Install] Update to 0.09

Paul Howarth pghmcfc at fedoraproject.org
Thu Nov 13 13:29:02 UTC 2014


commit b686e073f294642795bd9b8847589367b2cb97a7
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Nov 13 13:28:26 2014 +0000

    Update to 0.09
    
    - New upstream release 0.09
      - Get rid of DB::single
      - Don't do POD tests by default
    - Specify all dependencies

 perl-File-ShareDir-Install.spec |   44 ++++++++++++++++++++++++--------------
 sources                         |    2 +-
 2 files changed, 29 insertions(+), 17 deletions(-)
---
diff --git a/perl-File-ShareDir-Install.spec b/perl-File-ShareDir-Install.spec
index 0b9632f..ad816dd 100644
--- a/perl-File-ShareDir-Install.spec
+++ b/perl-File-ShareDir-Install.spec
@@ -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 at 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 at redhat.com> - 0.08-3
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 244efe7..5a3479b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bdda798a8582d6d1d2f8149cb738e822  File-ShareDir-Install-0.08.tar.gz
+508fd1f977f2e160e7e756c9c73868df  File-ShareDir-Install-0.09.tar.gz



More information about the perl-devel mailing list