commit abe712a7fdc860791b52a18326b6c68c1b457b4f
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Nov 23 19:35:52 2013 +0200

    add provides php()

 php-pecl.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php-pecl.spec b/php-pecl.spec
index 413e830..b20bba4 100644
--- a/php-pecl.spec
+++ b/php-pecl.spec
@@ -3,7 +3,7 @@
 %bcond_without tests           # build without tests
 
 %define                php_name        php%{?php_suffix}
-%define                modname -
+%define                modname MODULE_NAME
 Summary:       %{modname} -
 Summary(pl.UTF-8):     %{modname} -
 Name:          %{php_name}-pecl-%{modname}
@@ -13,11 +13,12 @@ License:    PHP 3.01
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: -
-URL:           http://pecl.php.net/package/modname/
+URL:           http://pecl.php.net/package/MODULE_NAME/
 %{?with_tests:BuildRequires:    %{php_name}-cli}
 BuildRequires: %{php_name}-devel
 BuildRequires: rpmbuild(macros) >= 1.666
 %{?requires_php_extension}
+Provides:      php(MODULE_NAME) = %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/f2b77a6b4eb06e028aa27353eefb5c7efa2edefb

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to