[perl-Data-Section-Simple] Use Module::Build::Tiny's new --create_packlist option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 2281da1a3509b3f1487abb96f71626339916f700
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon May 20 19:02:11 2013 +0100

    Use Module::Build::Tiny's new --create_packlist option

 perl-Data-Section-Simple.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/perl-Data-Section-Simple.spec b/perl-Data-Section-Simple.spec
index 357fe28..b16fdeb 100644
--- a/perl-Data-Section-Simple.spec
+++ b/perl-Data-Section-Simple.spec
@@ -3,7 +3,7 @@
 
 Name:		perl-Data-Section-Simple
 Version:	0.04
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Read data from __DATA__
 License:	GPL+ or Artistic
 Group:		Development/Libraries
@@ -13,7 +13,7 @@ Patch1:		Data-Section-Simple-0.04-old-Test::More.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(Module::Build::Tiny)
+BuildRequires:	perl(Module::Build::Tiny) >= 0.020
 # Module
 BuildRequires:	perl(base)
 BuildRequires:	perl(Exporter)
@@ -44,8 +44,7 @@ perl Build.PL --installdirs=vendor
 
 %install
 rm -rf %{buildroot}
-./Build install --destdir=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+./Build install --destdir=%{buildroot} --create_packlist=0
 %{_fixperms} %{buildroot}
 
 %check
@@ -60,6 +59,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Data::Section::Simple.3pm*
 
 %changelog
+* Mon May 20 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.04-2
+- Use Module::Build::Tiny's new --create_packlist option
+
 * Fri Mar 29 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.04-1
 - Update to 0.04
   - Do not throw exceptions when there's no template
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux