[perl-Data-ICal] Spec file cleanup.

corsepiu corsepiu at fedoraproject.org
Thu Dec 15 18:24:21 UTC 2011


commit e0d57454c2ee56a0d95e3faee2bb530f49d23567
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Dec 15 19:24:15 2011 +0100

    Spec file cleanup.

 perl-Data-ICal.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/perl-Data-ICal.spec b/perl-Data-ICal.spec
index f83050c..c91cbdc 100644
--- a/perl-Data-ICal.spec
+++ b/perl-Data-ICal.spec
@@ -1,6 +1,6 @@
 Name:           perl-Data-ICal
 Version:        0.18
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Generates iCalendar (RFC 2445) calendar files
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -9,7 +9,6 @@ Source0:        http://www.cpan.org/authors/id/T/TS/TSIBLEY/Data-ICal-%{version}
 
 # inc/Module/Install* is broken, replace it with Module-Install-0.91
 Patch0:         Data-ICal-0.16.diff
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  perl(CPAN) perl(YAML::Tiny) perl(File::Remove)
@@ -45,8 +44,6 @@ many popular calendaring programs such as Apple's iCal.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@@ -57,9 +54,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -67,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Dec 15 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.18-2
+- Spec file cleanup.
+
 * Thu Dec 15 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.18-1
 - Upstream update.
 



More information about the perl-devel mailing list