[packages/php-pear-HTML_QuickForm_advmultiselect] - use virtual php extension deps (to be independant of php version) - release 4 (by relup.sh)

glen glen at pld-linux.org
Tue Aug 7 16:16:51 CEST 2012


commit 4336d811be0ac36e4765450ea83d0a2817235797
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 7 17:16:50 2012 +0300

    - use virtual php extension deps (to be independant of php version)
    - release 4 (by relup.sh)

 php-pear-HTML_QuickForm_advmultiselect.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/php-pear-HTML_QuickForm_advmultiselect.spec b/php-pear-HTML_QuickForm_advmultiselect.spec
index 28e030a..4d142de 100644
--- a/php-pear-HTML_QuickForm_advmultiselect.spec
+++ b/php-pear-HTML_QuickForm_advmultiselect.spec
@@ -1,13 +1,13 @@
-%include	/usr/lib/rpm/macros.php
 %define		_class		HTML
 %define		_subclass	QuickForm
 %define		_status		stable
-%define		_pearname	%{_class}_%{_subclass}_advmultiselect
+%define		_pearname	HTML_QuickForm_advmultiselect
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - element for HTML_QuickForm that emulate a multi-select
 Summary(pl.UTF-8):	%{_pearname} - element HTML_QuickForm emulujący wielokrotną listę wyboru
 Name:		php-pear-%{_pearname}
 Version:	1.5.1
-Release:	3
+Release:	4
 License:	PHP 3.0
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -17,15 +17,15 @@ BuildRequires:	php-pear-PEAR
 BuildRequires:	php-pear-PEAR >= 1:1.5.4
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
+Requires:	php(pcre)
 Requires:	php-common >= 3:4.2.0
-Requires:	php-pcre
 Requires:	php-pear
 Requires:	php-pear-HTML_Common >= 1.2.5
 Requires:	php-pear-HTML_QuickForm >= 3.2.10
 Requires:	php-pear-PEAR-core >= 1:1.4.3
 Suggests:	php-pear-PHPUnit
-Conflicts:	php-pear-HTML_QuickForm = 3.2.4
 Obsoletes:	php-pear-HTML_QuickForm_advmultiselect-tests
+Conflicts:	php-pear-HTML_QuickForm = 3.2.4
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -61,5 +61,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc install.log docs/%{_pearname}/{ChangeLog,examples}
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/%{_subclass}/*.php
+%{php_pear_dir}/HTML/QuickForm/*.php
 %{php_pear_dir}/data


More information about the pld-cvs-commit mailing list