[packages/php-pear-Validate_HU] - use php(core) for php engine version deps - release 1 (by relup.sh)
glen
glen at pld-linux.org
Sun Aug 26 14:48:26 CEST 2012
commit 148eb1630eab4b1fd6468558461f56241aae5849
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Aug 26 15:48:24 2012 +0300
- use php(core) for php engine version deps
- release 1 (by relup.sh)
php-pear-Validate_HU.spec | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/php-pear-Validate_HU.spec b/php-pear-Validate_HU.spec
index eee08eb..ae34441 100644
--- a/php-pear-Validate_HU.spec
+++ b/php-pear-Validate_HU.spec
@@ -1,14 +1,11 @@
-%include /usr/lib/rpm/macros.php
-%define _class Validate
-%define _subclass HU
%define _status alpha
%define _pearname Validate_HU
-
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - Validation class for Hungary
Summary(pl.UTF-8): %{_pearname} - Klasa sprawdzająca poprawność dla Węgier
Name: php-pear-%{_pearname}
Version: 0.1.1
-Release: 1
+Release: 2
Epoch: 0
License: New BSD
Group: Development/Languages/PHP
@@ -18,7 +15,7 @@ URL: http://pear.php.net/package/Validate_HU/
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
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -30,6 +27,7 @@ This class provides methods to validate:
- Tax number
- Bank account number
- SSN number (TAJ szam)
+
In PEAR status of this package is: %{_status}.
%description -l pl.UTF-8
@@ -58,4 +56,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/%{_subclass}.php
+%{php_pear_dir}/Validate/HU.php
More information about the pld-cvs-commit
mailing list