[packages/chromium-browser] remove makefile if .spec was modified

glen glen at pld-linux.org
Tue Jan 1 23:03:00 CET 2013


commit 9849e9e6d8782be4eea82500691ea82e3f07a5dd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 2 00:01:09 2013 +0200

    remove makefile if .spec was modified

 chromium-browser.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index 62ad8e2..8a0b32b 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -331,6 +331,7 @@ cd ../../../../../..
 fi
 %endif
 
+test %{_specdir}/%{name}.spec -nt Makefile && %{__rm} Makefile
 test -e Makefile || %{__python} build/gyp_chromium \
 	--format=make \
 	-Goutput_dir=../out \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/48ffbc5ed2a2348984435bf114daf604896a7621



More information about the pld-cvs-commit mailing list