summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-08-03 10:59:59 +0200
committerRemi Collet <remi@remirepo.net>2017-08-03 10:59:59 +0200
commitbae249807c2c44169a0320b530670cd5a908f261 (patch)
tree57acc089d330d6bb1cb906370b5cc915e7aa50f9
parent2d86a65c55fb8b6469e12b7ad5ff897cffaa2d5e (diff)
minor
-rw-r--r--php-pecl-ssh2.spec12
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