[perl-File-Path-Tiny] 0.7 bump

Petr Šabata psabata at fedoraproject.org
Fri Nov 21 13:18:57 UTC 2014


commit a75d5f10f620aef09ab598c6aabf6ec5eb7660bc
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Nov 21 14:18:46 2014 +0100

    0.7 bump

 .gitignore               |    1 +
 perl-File-Path-Tiny.spec |   26 +++++++++++++++-----------
 sources                  |    2 +-
 3 files changed, 17 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 126713c..ab91a74 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /File-Path-Tiny-0.2.tar.gz
 /File-Path-Tiny-0.3.tar.gz
 /File-Path-Tiny-0.5.tar.gz
+/File-Path-Tiny-0.7.tar.gz
diff --git a/perl-File-Path-Tiny.spec b/perl-File-Path-Tiny.spec
index 46f7d4b..281e7d0 100644
--- a/perl-File-Path-Tiny.spec
+++ b/perl-File-Path-Tiny.spec
@@ -1,16 +1,21 @@
 Name:           perl-File-Path-Tiny
-Version:        0.5
-Release:        6%{?dist}
+Version:        0.7
+Release:        1%{?dist}
 Summary:        Recursive versions of mkdir() and rmdir() without as much overhead as File::Path
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/File-Path-Tiny/
 Source0:        http://www.cpan.org/authors/id/D/DM/DMUEY/File-Path-Tiny-%{version}.tar.gz
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(File::Spec)
+# Tests only
+BuildRequires:  perl(lib)
 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}
@@ -23,15 +28,11 @@ rmdir() with as little code and overhead as possible.
 %setup -q -n File-Path-Tiny-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -43,6 +44,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Fri Nov 21 2014 Petr Šabata <contyk at redhat.com> - 0.7-1
+- 0.7 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.5-6
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 168f49b..5beb7a4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3cf7fc7bddbd038a75c53b0673146bb4  File-Path-Tiny-0.5.tar.gz
+652b70d4927833cf4af382fa34bc3647  File-Path-Tiny-0.7.tar.gz



More information about the perl-devel mailing list