SPECS: zaptel.spec - skip configure and prereq make on short circuit build

glen glen at pld-linux.org
Fri Sep 26 11:45:20 CEST 2008


Author: glen                         Date: Fri Sep 26 09:45:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- skip configure and prereq make on short circuit build

---- Files affected:
SPECS:
   zaptel.spec (1.129 -> 1.130) 

---- Diffs:

================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.129 SPECS/zaptel.spec:1.130
--- SPECS/zaptel.spec:1.129	Fri Sep 26 00:44:33 2008
+++ SPECS/zaptel.spec	Fri Sep 26 11:45:15 2008
@@ -204,11 +204,15 @@
 %endif
 
 %build
-%configure
-%{__make} prereq zttest \
-	CC="%{__cc}" \
-	LDFLAGS="%{rpmldflags}" \
-	OPTFLAGS="%{rpmcflags}"
+if [ ! -f configure.stamp ]; then
+	rm -f configure.stamp
+	%configure
+	%{__make} prereq zttest \
+		CC="%{__cc}" \
+		LDFLAGS="%{rpmldflags}" \
+		OPTFLAGS="%{rpmcflags}"
+	touch configure.stamp
+fi
 
 %if %{with kernel}
 %build_kernel_modules SUBDIRS=$PWD DOWNLOAD=$PWD/download-logger ZAP="-I$PWD" KSRC=%{_kernelsrcdir} KBUILD_OBJ_M="%{modules}" -m %{modules_in} -C kernel
@@ -333,6 +337,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.130  2008/09/26 09:45:15  glen
+- skip configure and prereq make on short circuit build
+
 Revision 1.129  2008/09/25 22:44:33  glen
 - add sparc patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/zaptel.spec?r1=1.129&r2=1.130&f=u



More information about the pld-cvs-commit mailing list