packages: php-phing/php-phing.spec - avoid self-obsoletion - skip backup fi...

glen glen at pld-linux.org
Sun Jan 9 21:34:00 CET 2011


Author: glen                         Date: Sun Jan  9 20:34:00 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- avoid self-obsoletion
- skip backup files being installed

---- Files affected:
packages/php-phing:
   php-phing.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: packages/php-phing/php-phing.spec
diff -u packages/php-phing/php-phing.spec:1.22 packages/php-phing/php-phing.spec:1.23
--- packages/php-phing/php-phing.spec:1.22	Tue Jan  4 12:26:21 2011
+++ packages/php-phing/php-phing.spec	Sun Jan  9 21:33:55 2011
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	System budowania projektów w PHP oparty na narzędziu Apache Ant
 Name:		php-%{pkgname}
 Version:	2.4.4
-Release:	1
+Release:	2
 License:	LGPL v3
 Group:		Development/Languages/PHP
 Source0:	http://pear.phing.info/get/phing-%{version}.tgz
@@ -27,7 +27,7 @@
 Requires:	php-dom
 Requires:	php-xml
 Provides:	phing = %{version}
-Obsoletes:	phing
+Obsoletes:	phing < 2.4.1
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -79,6 +79,9 @@
 %prep
 %pear_package_setup -d data_dir=%{_appdir}/data
 
+# 2.4.4 release tarball contains .rej and .orig files junk
+find '(' -name '*~' -o -name '*.orig' -o -name '*.rej' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir},%{_appdir}}
@@ -128,6 +131,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2011/01/09 20:33:55  glen
+- avoid self-obsoletion
+- skip backup files being installed
+
 Revision 1.22  2011/01/04 11:26:21  glen
 - up to 2.4.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-phing/php-phing.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list