SPECS (DEVEL): php-pear-PEAR.spec - use PLD-ized template for rpm ...

glen glen at pld-linux.org
Sun Sep 18 15:34:31 CEST 2005


Author: glen                         Date: Sun Sep 18 13:34:31 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- use PLD-ized template for rpm packages
- add patch for PLD package naming schema

---- Files affected:
SPECS:
   php-pear-PEAR.spec (1.65.2.10 -> 1.65.2.11) 

---- Diffs:

================================================================
Index: SPECS/php-pear-PEAR.spec
diff -u SPECS/php-pear-PEAR.spec:1.65.2.10 SPECS/php-pear-PEAR.spec:1.65.2.11
--- SPECS/php-pear-PEAR.spec:1.65.2.10	Sun Sep 18 14:40:53 2005
+++ SPECS/php-pear-PEAR.spec	Sun Sep 18 15:34:25 2005
@@ -11,15 +11,17 @@
 Name:		php-pear-%{_pearname}
 Version:	1.4.0
 %define		_pre b1
-%define		_rel 3.20
+%define		_rel 3.22
 Release:	0.%{_pre}.%{_rel}
 Epoch:		1
 License:	PHP 3.0
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{_pre}.tgz
 # Source0-md5:	fac6e8d80991ae3a63cb6a616958e833
+Source1:	%{name}-template.spec
 Patch0:		%{name}-memory.patch
 Patch1:		%{name}-sysconfdir.patch
+Patch2:		%{name}-rpmpkgname.patch
 URL:		http://pear.php.net/package/PEAR/
 BuildRequires:	php-pear-build >= 0.3
 Requires:	php-pear >= 4:1.0-5.5
@@ -71,6 +73,7 @@
 %pear_package_setup
 %patch0 -p2
 %patch1 -p1
+%patch2 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -91,6 +94,8 @@
 %pear_package_install
 cp -a ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{php_pear_dir}/data/%{_class}/template.spec
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -113,6 +118,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65.2.11  2005/09/18 13:34:25  glen
+- use PLD-ized template for rpm packages
+- add patch for PLD package naming schema
+
 Revision 1.65.2.10  2005/09/18 12:40:53  glen
 - unify
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR.spec?r1=1.65.2.10&r2=1.65.2.11&f=u




More information about the pld-cvs-commit mailing list