[perl-Jemplate] Clean spec file

Petr Pisar ppisar at fedoraproject.org
Wed Mar 14 17:05:52 UTC 2012


commit 65dd4a2fc4aad22a7cc2785f0676a168f85aafb9
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Mar 14 17:48:01 2012 +0100

    Clean spec file

 perl-Jemplate.spec |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/perl-Jemplate.spec b/perl-Jemplate.spec
index e8602f4..2f2d564 100644
--- a/perl-Jemplate.spec
+++ b/perl-Jemplate.spec
@@ -13,7 +13,6 @@ Source:     http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Jemplate-%{version}
 #Patch0:     Jemplate.pm-0.23_1.patch 
 #Patch0:     Jemplate-0.261-fix-quoted-test.patch
 Url:        http://search.cpan.org/dist/Jemplate
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
 Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:  noarch
 
@@ -59,22 +58,15 @@ rm foo
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot} 
-
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README doc/ examples/ 
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*


More information about the scm-commits mailing list