[packages/php-pear-Net_IDNA] - use php(core) for php engine version deps - release 2 (by relup.sh)
glen
glen at pld-linux.org
Sun Aug 26 14:47:45 CEST 2012
commit 7d5987ad26c76396f9acddce85464becbc073602
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Aug 26 15:47:43 2012 +0300
- use php(core) for php engine version deps
- release 2 (by relup.sh)
php-pear-Net_IDNA.spec | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/php-pear-Net_IDNA.spec b/php-pear-Net_IDNA.spec
index 6bc1221..953b1dc 100644
--- a/php-pear-Net_IDNA.spec
+++ b/php-pear-Net_IDNA.spec
@@ -1,13 +1,11 @@
-%include /usr/lib/rpm/macros.php
-%define _class Net
-%define _subclass IDNA
%define _status beta
-%define _pearname %{_class}_%{_subclass}
+%define _pearname Net_IDNA
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - punycode encoding and decoding
Summary(pl.UTF-8): %{_pearname} - kodowanie i dekodowanie punycode
Name: php-pear-%{_pearname}
Version: 0.8.1
-Release: 2
+Release: 3
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,7 +14,7 @@ URL: http://pear.php.net/package/Net_IDNA/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php-common >= 3:4.3.0
+Requires: php(core) >= 4.3.0
Requires: php-pear
Obsoletes: php-pear-Net_IDNA-tests
BuildArch: noarch
@@ -48,4 +46,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}/Net/*.php
More information about the pld-cvs-commit
mailing list