From c8cfa3fd4a40a3aa2d7b0da0e5a5b970844fa0bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Sun, 14 Feb 2016 04:12:52 +0100
Subject: Modernize spec.

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

diff --git a/perl-DBIx-DBSchema.spec b/perl-DBIx-DBSchema.spec
index 32c7623..5f2cad3 100644
--- a/perl-DBIx-DBSchema.spec
+++ b/perl-DBIx-DBSchema.spec
@@ -1,6 +1,6 @@
 Name:           perl-DBIx-DBSchema
 Version:        0.45
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Database-independent schema objects
 
 Group:          Development/Libraries
@@ -45,14 +45,12 @@ chmod -x README Changes
 find -name '*.pm' -exec chmod -x {} \;
 
 %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/*
 
 
@@ -67,6 +65,9 @@ make test
 
 
 %changelog
+* Sun Feb 14 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.45-5
+- Modernize spec.
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.45-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-DBIx-DBSchema.git/commit/?h=master&id=c8cfa3fd4a40a3aa2d7b0da0e5a5b970844fa0bf
--
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