]> git.pld-linux.org Git - packages/php-pecl-ssh2.git/blobdiff - php-pecl-ssh2.spec
1.x versions are for php7
[packages/php-pecl-ssh2.git] / php-pecl-ssh2.spec
index c5862f1b98a845d88152e9becf02cb82e46e0df7..392b53947f0e178853e37bf91abb3c97e511f813 100644 (file)
@@ -10,7 +10,7 @@ Group:                Development/Languages/PHP
 Source0:       https://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 0bb1b02ae6d1d1a86134959e9b45ae69
 URL:           https://pecl.php.net/package/ssh2
-BuildRequires: %{php_name}-devel >= 4:5.0.4
+BuildRequires: %{php_name}-devel >= 4:7.0.0
 BuildRequires: libssh2-devel >= 1.2.9
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: rpmbuild(macros) >= 1.650
@@ -40,7 +40,7 @@ phpize
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
 install -p modules/%{modname}.so $RPM_BUILD_ROOT%{php_extensiondir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/00_%{modname}.ini
 ; Enable %{modname} extension module
 extension=%{modname}.so
 EOF
@@ -58,5 +58,5 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/*_%{modname}.ini
 %attr(755,root,root) %{php_extensiondir}/%{modname}.so
This page took 0.070234 seconds and 4 git commands to generate.