Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
php-mcrypt
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
php-mcrypt.spec
@@ -36,7 +36,15 @@ %{__make} -%{__make} DESTDIR=$RPM_BUILD_ROOT install +%install +%if 0%{?centos_version} == 4 +%{__install} -D -m 755 mcrypt.so $RPM_BUILD_ROOT/%{_libdir}/php4/mcrypt.so +%endif + +%if 0%{?centos_version} == 5 +%{__install} -D -m 755 mcrypt.so $RPM_BUILD_ROOT/%{_libdir}/php/modules/mcrypt.so +%endif + echo "# mcrypt extension" > $RPM_BUILD_ROOT/%{_sysconfdir}/php.d/mcrypt.ini echo "extension=mcrypt.so" >> $RPM_BUILD_ROOT/%{_sysconfdir}/php.d/mcrypt.ini