[perl-SOAP-Lite/el5] Clean buildroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 25f5fc9a80e95a4a1fdebf7419bb745e1fbc5b6b
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Tue May 31 12:00:44 2011 +0100

    Clean buildroot

 perl-SOAP-Lite.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/perl-SOAP-Lite.spec b/perl-SOAP-Lite.spec
index a2e1cdc..5b89d92 100644
--- a/perl-SOAP-Lite.spec
+++ b/perl-SOAP-Lite.spec
@@ -9,7 +9,7 @@ Source0:    http://search.cpan.org/CPAN/authors/id/M/MK/MKUTTER/SOAP-Lite-%{vers
 # rhbz#663931, rt#58538
 Patch0:     perl-SOAP-Lite-0.712-mod_perl.patch
 BuildArch:  noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # Core package
 BuildRequires:  perl(Class::Inspector)
@@ -71,6 +71,7 @@ find examples -type f -exec chmod ugo-x {} \;
 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 {} ';'
 find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
@@ -79,6 +80,9 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 %check
 make test
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files
 %defattr(-,root,root,-)
 # For license text(s), see the perl package.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux