SPECS (AC-branch): test.spec - multiarch subpgk test

glen glen at pld-linux.org
Sun Feb 24 14:32:13 CET 2008


Author: glen                         Date: Sun Feb 24 13:32:13 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- multiarch subpgk test

---- Files affected:
SPECS:
   test.spec (1.16.4.76 -> 1.16.4.77) 

---- Diffs:

================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.16.4.76 SPECS/test.spec:1.16.4.77
--- SPECS/test.spec:1.16.4.76	Tue Feb 12 01:37:42 2008
+++ SPECS/test.spec	Sun Feb 24 14:32:07 2008
@@ -2,6 +2,10 @@
 #
 # Conditional build:
 %bcond_with	noarch	# build noarch kernel-source package
+
+%if "%{_arch}" == "noarch"
+%define		with_noarch	1
+%endif
 #
 Summary:	test
 Name:		testarch
@@ -26,13 +30,13 @@
 %setup -qcT
 echo "target: %{_arch}"
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %if %{without noarch}
 %files
 %defattr(644,root,root,755)
@@ -49,6 +53,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16.4.77  2008-02-24 13:32:07  glen
+- multiarch subpgk test
+
 Revision 1.16.4.76  2008-02-12 00:37:42  glen
 - builder script fooling
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/test.spec?r1=1.16.4.76&r2=1.16.4.77&f=u



More information about the pld-cvs-commit mailing list