[projects/template-specs] clean is after install section

glen glen at pld-linux.org
Sat Sep 14 01:33:46 CEST 2013


commit 0430c8f6941d9988ef742837ecd88f7ffdc5ed8b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Sep 14 02:33:37 2013 +0300

    clean is after install section

 webapp.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/webapp.spec b/webapp.spec
index a353023..fd98e3e 100644
--- a/webapp.spec
+++ b/webapp.spec
@@ -75,6 +75,9 @@ cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 cp -p $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 # %webapp_* macros usage extracted from /usr/lib/rpm/macros.build:
 #
 # Usage:
@@ -99,9 +102,6 @@ cp -p $RPM_BUILD_ROOT%{_sysconfdir}/{apache,httpd}.conf
 %triggerun -- lighttpd
 %webapp_unregister lighttpd %{_webapp}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %dir %attr(750,root,http) %{_sysconfdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/0430c8f6941d9988ef742837ecd88f7ffdc5ed8b



More information about the pld-cvs-commit mailing list