From bb7f10d9abf1a4559535fc7b805083a619f029b2 Mon Sep 17 00:00:00 2001
From: "Charles R. Anderson" <[email protected]>
Date: Tue, 3 Jan 2017 09:44:52 -0500
Subject: re-add packlist deletion to maintain EPEL spec compatibility

---
 perl-Data-ICal.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/perl-Data-ICal.spec b/perl-Data-ICal.spec
index d45045f..cdc4c15 100644
--- a/perl-Data-ICal.spec
+++ b/perl-Data-ICal.spec
@@ -1,6 +1,6 @@
 Name:           perl-Data-ICal
 Version:        0.22
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Generates iCalendar (RFC 2445) calendar files
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -44,6 +44,8 @@ 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
@@ -55,6 +57,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jan  3 2017 Charles R. Anderson <[email protected]> - 0.22-7
+- re-add packlist deletion to maintain EPEL spec compatibility
+
 * Sun May 15 2016 Jitka Plesnikova <[email protected]> - 0.22-6
 - Perl 5.24 rebuild
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Data-ICal.git/commit/?h=epel7&id=bb7f10d9abf1a4559535fc7b805083a619f029b2
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to