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

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


commit 9ed802ae5fdcf270273941d186b227cc63055c99
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 26 15:50:20 2012 +0300

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

 php-pear-XML_SaxFilters.spec | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/php-pear-XML_SaxFilters.spec b/php-pear-XML_SaxFilters.spec
index d823b80..6e53fd2 100644
--- a/php-pear-XML_SaxFilters.spec
+++ b/php-pear-XML_SaxFilters.spec
@@ -1,14 +1,11 @@
-%include	/usr/lib/rpm/macros.php
-%define		_class		XML
-%define		_subclass	SaxFilters
 %define		_status		beta
-%define		_pearname	%{_class}_%{_subclass}
-
+%define		_pearname	XML_SaxFilters
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - a framework for building XML filters using the SAX API
 Summary(pl.UTF-8):	%{_pearname} - tworzenie filtrów XML za pomocą API SAX
 Name:		php-pear-%{_pearname}
 Version:	0.3.0
-Release:	5
+Release:	6
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -17,7 +14,7 @@ URL:		http://pear.php.net/package/XML_SaxFilters/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
-Requires:	php-common >= 3:4.1.0
+Requires:	php(core) >= 4.1.0
 Requires:	php-pear
 Requires:	php-pear-XML_HTMLSax
 BuildArch:	noarch
@@ -88,5 +85,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/SaxFilters


More information about the pld-cvs-commit mailing list