[packages/php-pecl-python] provide php(extname) to really be supporting multiple php versions

glen glen at pld-linux.org
Mon Nov 25 00:01:34 CET 2013


commit 2fdf72250c377c23b4d3f1f205f8bc2482c92b7d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 25 01:01:32 2013 +0200

    provide php(extname) to really be supporting multiple php versions

 php-pecl-python.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-python.spec b/php-pecl-python.spec
index dad8b24..91e5bce 100644
--- a/php-pecl-python.spec
+++ b/php-pecl-python.spec
@@ -5,17 +5,18 @@ Summary:	%{modname} - embedded Python
 Summary(pl.UTF-8):	%{modname} - Python wbudowany w PHP
 Name:		%{php_name}-pecl-%{modname}
 Version:	0.8.0
-Release:	1
+Release:	2
 License:	MIT License
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5:	bfe4236be15dc5095d1dfc6722f14c35
 URL:		http://pecl.php.net/package/python/
 BuildRequires:	%{php_name}-devel >= 3:5.0.0
-BuildRequires:	rpmbuild(macros) >= 1.650
 BuildRequires:	python-devel < 1:2.6.0
+BuildRequires:	rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
-Requires:	php-common >= 4:5.0.4
+Requires:	php(core) >= 5.0.4
+Provides:	php(%{modname}) = %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-python.git/commitdiff/2fdf72250c377c23b4d3f1f205f8bc2482c92b7d



More information about the pld-cvs-commit mailing list