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

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


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

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

 php-pecl-mono.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php-pecl-mono.spec b/php-pecl-mono.spec
index 1eba257..b660901 100644
--- a/php-pecl-mono.spec
+++ b/php-pecl-mono.spec
@@ -16,11 +16,12 @@ Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5:	23639443898018a743250a62b1873a89
 URL:		http://pecl.php.net/package/mono/
-BuildRequires:	mono-devel
 BuildRequires:	%{php_name}-devel >= 3:5.0.0
+BuildRequires:	mono-devel
 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}
 Obsoletes:	php-mono
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mono.git/commitdiff/b72b33a2fc0c2a226b9817740b418d6b8b921fa2



More information about the pld-cvs-commit mailing list