packages: php-pear-PEAR/php-pear-PEAR.spec - up to 1.9.0, force php5 as min...

glen glen at pld-linux.org
Thu May 20 19:54:52 CEST 2010


Author: glen                         Date: Thu May 20 17:54:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.9.0, force php5 as min ver

---- Files affected:
packages/php-pear-PEAR:
   php-pear-PEAR.spec (1.152 -> 1.153) 

---- Diffs:

================================================================
Index: packages/php-pear-PEAR/php-pear-PEAR.spec
diff -u packages/php-pear-PEAR/php-pear-PEAR.spec:1.152 packages/php-pear-PEAR/php-pear-PEAR.spec:1.153
--- packages/php-pear-PEAR/php-pear-PEAR.spec:1.152	Wed Mar 10 14:14:32 2010
+++ packages/php-pear-PEAR/php-pear-PEAR.spec	Thu May 20 19:54:47 2010
@@ -9,17 +9,18 @@
 %define		_status		stable
 %define		_pearname	%{_class}
 
+%define		php_min_version 5.0.0
 %include	/usr/lib/rpm/macros.php
 Summary:	PEAR Base System
 Summary(pl.UTF-8):	Podstawowy system PEAR
 Name:		php-pear-%{_pearname}
-Version:	1.7.2
-Release:	10
+Version:	1.9.0
+Release:	0.4
 Epoch:		1
-License:	PHP 3.0
+License:	New BSD License
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	6614c4862f16c80eadb2d00b776d33c0
+# Source0-md5:	2f0056187b5f527c0f418f83014fc2a7
 Source1:	http://pear.php.net/get/Console_Getopt-1.2.3.tgz
 # Source1-md5:	d7618327f9302a7191893768982de823
 Source2:	http://pear.php.net/get/Structures_Graph-1.0.2.tgz
@@ -31,16 +32,17 @@
 BuildRequires:	php(pcre)
 BuildRequires:	php(xml)
 BuildRequires:	rpm-php-pearprov >= 4.4.2-30.1
-BuildRequires:	rpmbuild(macros) >= 1.375
+BuildRequires:	rpmbuild(macros) >= 1.563
 Requires:	%{name}-core = %{epoch}:%{version}-%{release}
 Requires:	/usr/bin/php
-Requires:	php(pcre)
-Requires:	php(xml)
-Requires:	php(zlib)
+Requires:	php-common >= 4:%{php_min_version}
+Requires:	php-pcre
 Requires:	php-pear >= 4:1.2-1
 Requires:	php-pear-Archive_Tar >= 1.1
 Requires:	php-pear-Console_Getopt >= 1.2
 Requires:	php-pear-Structures_Graph >= 1.0.2
+Requires:	php-xml
+Requires:	php-zlib
 Requires:	rpm-whiteout
 Suggests:	php-pear-Net_FTP
 Obsoletes:	php-pear-PEAR-Command
@@ -50,6 +52,7 @@
 Conflicts:	php-pear-PEAR_Frontend_Gtk < 0.4.0
 Conflicts:	php-pear-PEAR_Frontend_Web < 0.5.0
 Conflicts:	rpm-whiteout < 1.1
+Conflicts:	rpmbuild(macros) < 1.563
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -91,6 +94,7 @@
 Summary:	PEAR core classes
 Summary(pl.UTF-8):	Główne klasy PEAR-a
 Group:		Development/Languages/PHP
+Requires:	php-common >= 4:%{php_min_version}
 
 %description core
 This package includes PEAR core classes:
@@ -189,6 +193,7 @@
 %files core
 %defattr(644,root,root,755)
 %{php_pear_dir}/PEAR.php
+%{php_pear_dir}/PEAR5.php
 %{php_pear_dir}/System.php
 %{php_pear_dir}/OS
 %dir %{php_pear_dir}/PEAR
@@ -202,6 +207,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.153  2010/05/20 17:54:47  glen
+- up to 1.9.0, force php5 as min ver
+
 Revision 1.152  2010/03/10 13:14:32  glen
 - channels registry moved to php-pear package completely; rel 10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-PEAR/php-pear-PEAR.spec?r1=1.152&r2=1.153&f=u



More information about the pld-cvs-commit mailing list