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

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


commit 33d305348f6ddb174701bffbc14f153ae8cce4ee
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 25 01:02:55 2013 +0200

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

 php-pecl-v8js.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-v8js.spec b/php-pecl-v8js.spec
index 842268d..c2d6bd7 100644
--- a/php-pecl-v8js.spec
+++ b/php-pecl-v8js.spec
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_without	tests		# build without tests
 
-%define		rel		1
+%define		rel		2
 %define		gitrev	e2a8186
 %define		php_name	php%{?php_suffix}
 %define		modname	v8js
@@ -19,6 +19,7 @@ BuildRequires:	%{php_name}-devel >= 4:5.3.3
 BuildRequires:	rpmbuild(macros) >= 1.666
 BuildRequires:	v8-devel >= 3.21.12
 %{?requires_php_extension}
+Provides:	php(%{modname}) = %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-v8js.git/commitdiff/33d305348f6ddb174701bffbc14f153ae8cce4ee



More information about the pld-cvs-commit mailing list