]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
clean is after install section
authorElan Ruusamäe <glen@delfi.ee>
Fri, 13 Sep 2013 23:33:37 +0000 (02:33 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 13 Sep 2013 23:33:37 +0000 (02:33 +0300)
webapp.spec

index a35302318ba064887233c1b1ee726c9760ca968f..fd98e3ea0b5765cf853fec9fb12482d0e3f051ae 100644 (file)
@@ -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}
This page took 0.132052 seconds and 4 git commands to generate.