From 7b89b908fa39b95db4eaff88f04d971d64c54ec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Sat, 30 Jan 2016 03:57:28 +0100
Subject: Modernize spec.

---
 perl-Tree-Simple.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/perl-Tree-Simple.spec b/perl-Tree-Simple.spec
index 2bc72df..e2ee3d2 100644
--- a/perl-Tree-Simple.spec
+++ b/perl-Tree-Simple.spec
@@ -1,6 +1,6 @@
 Name:          perl-Tree-Simple
 Version:       1.26
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Tree::Simple Perl module
 License:       GPL+ or Artistic
 Group:                 Development/Libraries
@@ -26,13 +26,11 @@ A simple tree object.
 %setup -q -n Tree-Simple-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 %check
@@ -44,6 +42,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 30 2016 Ralf Corsépius <corse...@fedoraproject.org> - 1.26-2
+- Modernize spec.
+
 * Tue Dec 08 2015 Ralf Corsépius <corse...@fedoraproject.org> - 1.26-1
 - Update to 1.26.
 - Reflect upstream change to BRs.
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Tree-Simple.git/commit/?h=f22&id=7b89b908fa39b95db4eaff88f04d971d64c54ec7
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to