packages: php-pear-MDB2_Driver_mysql/php-pear-MDB2_Driver_mysql.spec - up t...

glen glen at pld-linux.org
Tue Nov 16 15:10:55 CET 2010


Author: glen                         Date: Tue Nov 16 14:10:55 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.5.0b3

---- Files affected:
packages/php-pear-MDB2_Driver_mysql:
   php-pear-MDB2_Driver_mysql.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: packages/php-pear-MDB2_Driver_mysql/php-pear-MDB2_Driver_mysql.spec
diff -u packages/php-pear-MDB2_Driver_mysql/php-pear-MDB2_Driver_mysql.spec:1.21 packages/php-pear-MDB2_Driver_mysql/php-pear-MDB2_Driver_mysql.spec:1.22
--- packages/php-pear-MDB2_Driver_mysql/php-pear-MDB2_Driver_mysql.spec:1.21	Sat Aug 21 21:08:06 2010
+++ packages/php-pear-MDB2_Driver_mysql/php-pear-MDB2_Driver_mysql.spec	Tue Nov 16 15:10:50 2010
@@ -1,12 +1,9 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		MDB2
-%define		_subclass	Driver_mysql
 %define		_status		beta
 %define		_pearname	MDB2_Driver_mysql
-%define		subver	b2
-%define		rel		2
-
+%define		subver	b3
+%define		rel		1
 Summary:	%{_pearname} - mysql MDB2 driver
 Summary(pl.UTF-8):	%{_pearname} - sterownik mysql dla MDB2
 Name:		php-pear-%{_pearname}
@@ -15,15 +12,16 @@
 License:	BSD License
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
-# Source0-md5:	b1f6697206f91a3ad2064df143176f92
+# Source0-md5:	b10ae9cb1dd304678879dd5e4533a031
 URL:		http://pear.php.net/package/MDB2_Driver_mysql/
-BuildRequires:	php-pear-PEAR >= 1:1.4.0-0.b1
+BuildRequires:	php-pear-PEAR >= 1:1.9.1
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
 Requires:	php-common >= 3:4.3.0
 Requires:	php-mysql
 Requires:	php-pear
-Requires:	php-pear-MDB2 >= 1:2.5.0-0.b2
+Requires:	php-pear-MDB2 >= 1:1.5.0-0.b3
+Obsoletes:	php-pear-MDB2_Driver_mysql-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -37,20 +35,6 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
-%package tests
-Summary:	Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
-Group:		Development/Languages/PHP
-Requires:	%{name} = %{version}-%{release}
-AutoProv:	no
-AutoReq:	no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
 %prep
 %pear_package_setup
 
@@ -59,6 +43,9 @@
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+# tests should not be packaged
+%{__rm} -r $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -74,16 +61,15 @@
 %{php_pear_dir}/MDB2/Driver/Function/mysql.php
 %{php_pear_dir}/data/MDB2_Driver_mysql
 
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/%{_pearname}
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2010/11/16 14:10:50  glen
+- up to 1.5.0b3
+
 Revision 1.21  2010/08/21 19:08:06  glen
 - updated deps with pearize.sh
 - release 2
================================================================

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



More information about the pld-cvs-commit mailing list