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