[packages/php-pear-HTTP_Session] - use php(core) for php engine version deps - release 4 (by relup.sh)

glen glen at pld-linux.org
Sun Aug 26 14:45:21 CEST 2012


commit f00f996b4af2a24e4b3370569b99c2d56bc3569f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Aug 26 15:45:20 2012 +0300

    - use php(core) for php engine version deps
    - release 4 (by relup.sh)

 php-pear-HTTP_Session.spec | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/php-pear-HTTP_Session.spec b/php-pear-HTTP_Session.spec
index dd7277e..d21809a 100644
--- a/php-pear-HTTP_Session.spec
+++ b/php-pear-HTTP_Session.spec
@@ -1,13 +1,11 @@
-%include	/usr/lib/rpm/macros.php
-%define		_class		HTTP
-%define		_subclass	Session
 %define		_status		beta
-%define		_pearname	%{_class}_%{_subclass}
+%define		_pearname	HTTP_Session
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - Object-oriented interface to the session_* family functions
 Summary(pl.UTF-8):	%{_pearname} - Obiektowy interfejs do funkcji z rodziny session_*
 Name:		php-pear-%{_pearname}
 Version:	0.5.6
-Release:	4
+Release:	5
 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/HTTP_Session/
 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-PEAR-core >= 1:1.3.3
 Suggests:	php-pear-DB
@@ -68,8 +66,8 @@ fi
 %doc install.log optional-packages.txt
 %doc docs/%{_pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
-%dir %{php_pear_dir}/%{_class}/%{_subclass}
-%dir %{php_pear_dir}/%{_class}/%{_subclass}/Container
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}/Container/*.php
+%dir %{php_pear_dir}/HTTP/Session
+%dir %{php_pear_dir}/HTTP/Session/Container
+%{php_pear_dir}/HTTP/*.php
+%{php_pear_dir}/HTTP/Session/*.php
+%{php_pear_dir}/HTTP/Session/Container/*.php


More information about the pld-cvs-commit mailing list