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

---
 perl-Test-MockTime.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/perl-Test-MockTime.spec b/perl-Test-MockTime.spec
index 8c3a556..00a56db 100644
--- a/perl-Test-MockTime.spec
+++ b/perl-Test-MockTime.spec
@@ -1,6 +1,6 @@
 Name:           perl-Test-MockTime
 Version:        0.15
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Replaces actual time with simulated time
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -36,15 +36,11 @@ calls to gmtime,time or localtime.
 chmod -x lib/Test/MockTime.pm t/test.t
 
 %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 -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -56,6 +52,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sat Jan 30 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.15-2
+- Modernize spec.
+
 * Thu Sep 10 2015 Ralf Corsépius <corse...@fedoraproject.org> - 0.15-1
 - Upstream update.
 - Expand BRs.
-- 
cgit v0.11.2


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