]> git.pld-linux.org Git - packages/php-pecl-ssh2.git/commitdiff
provide php(extname) to really be supporting multiple php versions
authorElan Ruusamäe <glen@delfi.ee>
Sun, 24 Nov 2013 23:02:09 +0000 (01:02 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 24 Nov 2013 23:02:09 +0000 (01:02 +0200)
php-pecl-ssh2.spec

index f8c93bc8bd070cde743965a798efb2bb7695a5d0..f5d2706eeb347f016814cec52ef7c7ab25cbe39c 100644 (file)
@@ -5,18 +5,19 @@ Summary:      %{modname} - bindings for the libssh2 library
 Summary(pl.UTF-8):     %{modname} - dowiązania do biblioteki libssh2
 Name:          %{php_name}-pecl-%{modname}
 Version:       0.12
-Release:       1
+Release:       2
 License:       PHP
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 409b91678a842bb0ff56f2cf018b9160
 Patch0:                branch.diff
 URL:           http://pecl.php.net/package/ssh2/
+BuildRequires: %{php_name}-devel >= 4:5.0.4
 BuildRequires: libssh2-devel >= 1.2.9
 BuildRequires: openssl-devel >= 0.9.7d
-BuildRequires: %{php_name}-devel >= 4:5.0.4
 BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
+Provides:      php(%{modname}) = %{version}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
This page took 0.105788 seconds and 4 git commands to generate.