[packages/php-pear-HTML_Form] - use php(core) for php engine version deps - release 3 (by relup.sh)
glen
glen at pld-linux.org
Sun Aug 26 14:44:27 CEST 2012
commit 38a53577eeb5b59fc5b5cd099335988cbc2c5353
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Aug 26 15:44:25 2012 +0300
- use php(core) for php engine version deps
- release 3 (by relup.sh)
php-pear-HTML_Form.spec | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/php-pear-HTML_Form.spec b/php-pear-HTML_Form.spec
index d674118..11d6304 100644
--- a/php-pear-HTML_Form.spec
+++ b/php-pear-HTML_Form.spec
@@ -1,14 +1,11 @@
-%include /usr/lib/rpm/macros.php
-%define _class HTML
-%define _subclass Form
%define _status stable
-%define _pearname %{_class}_%{_subclass}
-
+%define _pearname HTML_Form
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - simple HTML form package
Summary(pl.UTF-8): %{_pearname} - pakiet do prostych formularzy HTML
Name: php-pear-%{_pearname}
Version: 1.3.0
-Release: 3
+Release: 4
Epoch: 0
License: PHP 2.02
Group: Development/Languages/PHP
@@ -18,7 +15,7 @@ URL: http://pear.php.net/package/HTML_Form/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php-common >= 3:4.0.0
+Requires: php(core) >= 4.0.0
Requires: php-pear
Obsoletes: php-pear-HTML_Form-tests
BuildArch: noarch
@@ -55,4 +52,4 @@ 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}/HTML/*.php
More information about the pld-cvs-commit
mailing list