Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL5
:
extensions
>
php5-ssh2
> project.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File project.diff of Package php5-ssh2
--- php5-ssh2.spec.orig +++ 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,9 @@ License: PHP 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 >= 1.2 +Requires: php = %{php_version} +Requires: libssh2 >= 1.2 # URL: http://pecl.php.net/ssh2 Source: http://pecl.php.net/package/ssh2/%{pkg_name}-%{version}.tgz @@ -56,9 +57,9 @@ popd %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 +67,8 @@ echo 'extension = ssh2.so' >> %{buildroo %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