[packages/php-pear-XML_Util] - 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:18:18 CEST 2012
commit 4f72ae49002ebea6d605fa34e4a8f8fc830b73f1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 7 17:18:17 2012 +0300
- use virtual php extension deps (to be independant of php version)
- release 4 (by relup.sh)
php-pear-XML_Util.spec | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/php-pear-XML_Util.spec b/php-pear-XML_Util.spec
index b569cd4..3dca69e 100644
--- a/php-pear-XML_Util.spec
+++ b/php-pear-XML_Util.spec
@@ -1,13 +1,13 @@
-%include /usr/lib/rpm/macros.php
%define _class XML
%define _subclass Util
%define _status stable
-%define _pearname %{_class}_%{_subclass}
+%define _pearname XML_Util
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - XML utility class
Summary(pl.UTF-8): %{_pearname} - klasa narzędziowa do obróbki XML-a
Name: php-pear-%{_pearname}
Version: 1.2.1
-Release: 3
+Release: 4
License: BSD
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,8 +16,8 @@ URL: http://pear.php.net/package/XML_Util/
BuildRequires: php-pear-PEAR
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-PEAR-core
Obsoletes: php-pear-XML_Util-tests
@@ -54,4 +54,4 @@ rm -rf $RPM_BUILD_ROOT
%doc install.log
%doc docs/%{_pearname}/examples
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/XML/*.php
More information about the pld-cvs-commit
mailing list