SPECS: ser.spec - cleanup

zbyniu zbyniu at pld-linux.org
Thu Apr 12 21:25:41 CEST 2007


Author: zbyniu                       Date: Thu Apr 12 19:25:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanup

---- Files affected:
SPECS:
   ser.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/ser.spec
diff -u SPECS/ser.spec:1.14 SPECS/ser.spec:1.15
--- SPECS/ser.spec:1.14	Thu Apr 12 20:19:36 2007
+++ SPECS/ser.spec	Thu Apr 12 21:25:33 2007
@@ -128,9 +128,17 @@
 	PREFIX="%{_prefix}" \
 	basedir=$RPM_BUILD_ROOT
 
-for i in modules/*; do \
+%{__rm} -f $RPM_BUILD_ROOT%{_docdir}/%{name}/*
+
+for i in %{exclude_modules}; do
+	%{__rm} -f modules/$i/README
+done
+
+for i in modules/*; do
 	i=$(basename $i)
-	[ -f modules/$i/README ] && cp -f modules/$i/README README.$i; \
+	if [ -f modules/$i/README ]; then
+		cp -f modules/$i/README README.$i
+	fi
 done
 
 #cd doc/serdev
@@ -239,6 +247,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2007/04/12 19:25:33  zbyniu
+- cleanup
+
 Revision 1.14  2007/04/12 18:19:36  arekm
 - exclude broken modules cpl extcmd
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ser.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list