- use php(core) for php engine version deps auto/th/php-pear-XML_HTMLSax-3.0.0-8
authorElan Ruusamäe <glen@delfi.ee>
Sun, 26 Aug 2012 12:49:43 +0000 (15:49 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 26 Aug 2012 12:49:43 +0000 (15:49 +0300)
- release 7 (by relup.sh)

php-pear-XML_HTMLSax.spec

index f234b296ef01c998d985233308760e9d664ff18f..5b11847673fd1e06c554401fb5084e20e7ee2057 100644 (file)
@@ -1,13 +1,11 @@
-%include       /usr/lib/rpm/macros.php
-%define                _class          XML
-%define                _subclass       HTMLSax
 %define                _status         stable
-%define                _pearname       %{_class}_%{_subclass}
+%define                _pearname       XML_HTMLSax
+%include       /usr/lib/rpm/macros.php
 Summary:       %{_pearname} - a SAX based parser for HTML and other badly formed XML documents
 Summary(pl.UTF-8):     %{_pearname} - analizator SAX dla HTML-a i innych źle sformułowanych dokumentów XML
 Name:          php-pear-%{_pearname}
 Version:       3.0.0
-Release:       7
+Release:       8
 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_HTMLSax/
 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
 Obsoletes:     php-pear-XML_HTMLSax-tests
 BuildArch:     noarch
@@ -70,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc install.log
 %doc docs/%{_pearname}/*
-%dir %{php_pear_dir}/%{_class}/%{_subclass}
+%dir %{php_pear_dir}/XML/HTMLSax
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}/*.php
+%{php_pear_dir}/XML/*.php
+%{php_pear_dir}/XML/HTMLSax/*.php
This page took 0.223182 seconds and 4 git commands to generate.