[packages/php-pear-PEAR_Info] - use virtual php extension deps (to be independant of php version) - release 5 (by relup.sh)
glen
glen at pld-linux.org
Tue Aug 7 16:20:21 CEST 2012
commit db2658ee19666b6df15e6188e1e0c6182a154e29
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 7 17:20:20 2012 +0300
- use virtual php extension deps (to be independant of php version)
- release 5 (by relup.sh)
php-pear-PEAR_Info.spec | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/php-pear-PEAR_Info.spec b/php-pear-PEAR_Info.spec
index 11253f4..32d7ff6 100644
--- a/php-pear-PEAR_Info.spec
+++ b/php-pear-PEAR_Info.spec
@@ -1,13 +1,13 @@
-%include /usr/lib/rpm/macros.php
%define _class PEAR
%define _subclass Info
%define _status stable
-%define _pearname %{_class}_%{_subclass}
+%define _pearname PEAR_Info
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - show Information about your PEAR install and its packages
Summary(pl.UTF-8): %{_pearname} - pokazywanie informacji o instalacji PEAR-a i jego pakietach
Name: php-pear-%{_pearname}
Version: 1.9.2
-Release: 4
+Release: 5
Epoch: 0
License: PHP 2.02
Group: Development/Languages/PHP
@@ -17,8 +17,8 @@ URL: http://pear.php.net/package/PEAR_Info/
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.1.0
-Requires: php-pcre
Requires: php-pear
Requires: php-pear-Console_Getargs >= 1.3.3
Requires: php-pear-PEAR >= 1:1.3.2
@@ -73,6 +73,6 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/PEAR/*.php
+%{php_pear_dir}/PEAR/Info
%{php_pear_dir}/data/%{_pearname}
More information about the pld-cvs-commit
mailing list