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

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


commit 9a8b04cdff6f759f8d115d5a2c5d412c08fea272
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 25 01:00:24 2013 +0200

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

 php-pecl-mongo.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-mongo.spec b/php-pecl-mongo.spec
index 0be72b5..956cf69 100644
--- a/php-pecl-mongo.spec
+++ b/php-pecl-mongo.spec
@@ -5,7 +5,7 @@ Summary:	%{modname} - MongoDB database driver
 Summary(pl.UTF-8):	%{modname} - dostęp do bazy danych MongoDB
 Name:		%{php_name}-pecl-%{modname}
 Version:	1.4.5
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -15,6 +15,7 @@ BuildRequires:	%{php_name}-devel >= 3:5.1.0
 BuildRequires:	rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
 Requires:	php(core) >= 5.1.0
+Provides:	php(%{modname}) = %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mongo.git/commitdiff/9a8b04cdff6f759f8d115d5a2c5d412c08fea272



More information about the pld-cvs-commit mailing list