Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL5
:
extensions
>
php5-ssh2
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
php5-ssh2.spec
@@ -3,7 +3,7 @@ %define pkg_version 0.12 %define php_version %(php-config --version 2>/dev/null || echo PHPCONFIG_NOT_FOUND) # -Name: php5-ssh2 +Name: php-ssh2 Version: 0.12 Release: 0 # @@ -11,8 +11,8 @@ Group: Productivity/Networking/Web/Servers # BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build -BuildRequires: php5-devel libssh2-devel -Requires: php5 = %{php_version} +BuildRequires: php-devel libssh2-devel +Requires: php = %{php_version} # URL: http://pecl.php.net/ssh2 Source: http://pecl.php.net/package/ssh2/%{pkg_name}-%{version}.tgz @@ -56,9 +56,9 @@ %install %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} -%{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d -echo "; comment out next line to disable ssh2 extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/ssh2.ini -echo 'extension = ssh2.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/ssh2.ini +%{__mkdir} -p %{buildroot}%{_sysconfdir}/php.d +echo "; comment out next line to disable ssh2 extension in php" > %{buildroot}%{_sysconfdir}/php.d/ssh2.ini +echo 'extension = ssh2.so' >> %{buildroot}%{_sysconfdir}/php.d/ssh2.ini %clean @@ -66,8 +66,8 @@ %files %defattr(-,root,root,-) -%{_libdir}/php5/extensions/ssh2.so -%config(noreplace) %{_sysconfdir}/php5/conf.d/ssh2.ini +%{_libdir}/php/modules/ssh2.so +%config(noreplace) %{_sysconfdir}/php.d/ssh2.ini #%doc CREDITS