SPECS: drupal.spec - unify backups removal; rel 2

glen glen at pld-linux.org
Tue Jun 6 19:16:19 CEST 2006


Author: glen                         Date: Tue Jun  6 17:16:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unify backups removal; rel 2

---- Files affected:
SPECS:
   drupal.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/drupal.spec
diff -u SPECS/drupal.spec:1.63 SPECS/drupal.spec:1.64
--- SPECS/drupal.spec:1.63	Tue Jun  6 19:01:54 2006
+++ SPECS/drupal.spec	Tue Jun  6 19:16:14 2006
@@ -5,7 +5,7 @@
 Summary(pl):	Platforma do zarządzania treścią o otwartych źródłach
 Name:		drupal
 Version:	%{_ver}.%{_patchlevel}
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/WWW
 Source0:	http://drupal.org/files/projects/%{name}-%{version}.tar.gz
@@ -185,10 +185,11 @@
 %patch8 -p1
 %patch9 -p1
 
-find -name '*~' | xargs -r rm -v
-find -name '*.orig' | xargs -r rm -v
 cp -p %{SOURCE3} README.PLD
 
+# remove backups from patching as we use globs to package files to buildroot
+find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/cron.d,/var/{cache,lib}/%{name}} \
@@ -411,6 +412,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.64  2006/06/06 17:16:14  glen
+- unify backups removal; rel 2
+
 Revision 1.63  2006/06/06 17:01:54  mwinkler
 - remove *.orig
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drupal.spec?r1=1.63&r2=1.64&f=u



More information about the pld-cvs-commit mailing list