[packages/chromium-browser/dev-35] add dev bcond to disable clean source part

glen glen at pld-linux.org
Sat May 31 16:21:25 CEST 2014


commit f684992e881f6df276345940e6106f86f35cc5fd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 31 17:21:03 2014 +0300

    add dev bcond to disable clean source part

 chromium-browser.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index 691d76e..9d83063 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -2,6 +2,7 @@
 # Conditional build:
 %bcond_without	cups			# with cups
 %bcond_without	debuginfo		# disable debuginfo creation (it is huge)
+%bcond_with	dev			# with dev optimizations (skip clean source)
 %bcond_without	gconf			# with GConf
 %bcond_without	kerberos		# build with kerberos support (dlopened if support compiled, library names in net/http/http_auth_gssapi_posix.cc)
 %bcond_without	keyring 		# with keyring support (gnome-keyring dlopened, kwalletd via dbus)
@@ -312,6 +313,8 @@ ln -s %{SOURCE7} .
 %patch32 -p1
 %patch35 -p1
 
+%{?with_dev:exit 0}
+
 sh -x clean-source.sh \
 	%{!?with_nacl:nacl=0} \
 	%{!?with_system_libvpx:libvpx=0} \
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list