[packages/php-pear-XML_HTMLSax3] - use php(core) for php engine version deps - release 4 (by relup.sh)

glen glen at pld-linux.org
Sun Aug 26 14:49:49 CEST 2012


commit c68ad3965ea1e6ebdba602078e7d73a4aea87aca
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 26 15:49:48 2012 +0300

    - use php(core) for php engine version deps
    - release 4 (by relup.sh)

 php-pear-XML_HTMLSax3.spec | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/php-pear-XML_HTMLSax3.spec b/php-pear-XML_HTMLSax3.spec
index abaeba4..c0c56ef 100644
--- a/php-pear-XML_HTMLSax3.spec
+++ b/php-pear-XML_HTMLSax3.spec
@@ -1,13 +1,11 @@
-%include	/usr/lib/rpm/macros.php
-%define		_class		XML
-%define		_subclass	HTMLSax3
 %define		_status		stable
 %define		_pearname	XML_HTMLSax3
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - A SAX parser for HTML and other badly formed XML documents
 Summary(pl.UTF-8):	%{_pearname} - parser SAX dla HTML-a i innych źle uformowanych dokumentów XML
 Name:		php-pear-%{_pearname}
 Version:	3.0.0
-Release:	4
+Release:	5
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,7 +14,7 @@ URL:		http://pear.php.net/package/XML_HTMLSax3
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
-Requires:	php-common >= 3:4.0.5
+Requires:	php(core) >= 4.0.5
 Requires:	php-pear
 Suggests:	php-pcre
 Obsoletes:	php-pear-XML_HTMLSax3-tests
@@ -120,5 +118,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc install.log
 %doc docs/%{_pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/XML/*.php
+%{php_pear_dir}/XML/HTMLSax3


More information about the pld-cvs-commit mailing list