X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=php-pecl-ssh2.spec;h=392b53947f0e178853e37bf91abb3c97e511f813;hb=f75baa6;hp=c5862f1b98a845d88152e9becf02cb82e46e0df7;hpb=50d4685feb50e62ee948c0fcbb2782eab850cf2f;p=packages%2Fphp-pecl-ssh2.git diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index c5862f1..392b539 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -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