diff options
Diffstat (limited to 'php-pecl-ssh2.spec')
-rw-r--r-- | php-pecl-ssh2.spec | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index 39723a0..3096a0a 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -31,7 +31,7 @@ Release: 0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__p Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz %else Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -Source0: http://pecl.php.net/get/ssh2-%{version}.tgz +Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif Summary: Bindings for the libssh2 library @@ -39,7 +39,7 @@ Summary: Bindings for the libssh2 library License: PHP Group: Development/Languages -URL: http://pecl.php.net/package/ssh2 +URL: http://pecl.php.net/package/%{pecl_name} BuildRequires: libssh2-devel >= 1.2 BuildRequires: %{?scl_prefix}php-devel > 7 @@ -128,8 +128,8 @@ fi cd .. cat > %{ini_name} << 'EOF' -; Enable ssh2 extension module -extension=ssh2.so +; Enable %{pecl_name} extension module +extension=%{pecl_name}.so EOF %if %{with_zts} @@ -222,11 +222,11 @@ fi %{pecl_xmldir}/%{name}.xml %config(noreplace) %{php_inidir}/%{ini_name} -%{php_extdir}/ssh2.so +%{php_extdir}/%{pecl_name}.so %if %{with_zts} %config(noreplace) %{php_ztsinidir}/%{ini_name} -%{php_ztsextdir}/ssh2.so +%{php_ztsextdir}/%{pecl_name}.so %endif |