[packages/php-pear-HTTP_Server] - use php(core) for php engine version deps - release 1 (by relup.sh)
glen
glen at pld-linux.org
Sun Aug 26 14:45:16 CEST 2012
commit c9d77b451f77d0298ed1d6f8d1943eef2671b0f8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Aug 26 15:45:15 2012 +0300
- use php(core) for php engine version deps
- release 1 (by relup.sh)
php-pear-HTTP_Server.spec | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/php-pear-HTTP_Server.spec b/php-pear-HTTP_Server.spec
index ed2d547..6614843 100644
--- a/php-pear-HTTP_Server.spec
+++ b/php-pear-HTTP_Server.spec
@@ -1,13 +1,11 @@
-%include /usr/lib/rpm/macros.php
-%define _class HTTP
-%define _subclass Server
%define _status alpha
-%define _pearname %{_class}_%{_subclass}
+%define _pearname HTTP_Server
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - HTTP server class
Summary(pl.UTF-8): %{_pearname} - klasa do obsługi serwera HTTP
Name: php-pear-%{_pearname}
Version: 0.4.1
-Release: 1
+Release: 2
License: PHP
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,7 +14,7 @@ URL: http://pear.php.net/package/HTTP_Server/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php-common >= 3:4.2.0
+Requires: php(core) >= 4.2.0
Requires: php-pear
Requires: php-pear-HTTP
Requires: php-pear-Net_Server >= 0.12.0
@@ -56,5 +54,5 @@ 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}/%{_class}/%{_subclass}
+%{php_pear_dir}/HTTP/*.php
+%{php_pear_dir}/HTTP/Server
More information about the pld-cvs-commit
mailing list