Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
mysql
>
mysql-proxy
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 15
[-]
[+]
Changed
mysql-proxy.spec
@@ -49,9 +49,9 @@ %install %__make install DESTDIR=%{buildroot} -install -d -m 0755 %{buildroot}/var/{lib,run}/%{pkg_name} -install -D -m 0755 %{S:1} %{buildroot}/etc/init.d/%{pkg_name} -ln -sv ../../etc/init.d/%{pkg_name} %{buildroot}/%{_sbindir}/rc%{pkg_name} +install -d -m 0755 %{buildroot}/var/{lib,run}/%{name} +install -D -m 0755 %{S:1} %{buildroot}/etc/init.d/%{name} +ln -sv ../../etc/init.d/%{name} %{buildroot}/%{_sbindir}/rc%{name} install -D -m 0644 %{S:2} %{buildroot}/var/adm/fillup-templates/sysconfig.mysql-proxy sed -i s@"%LIB%"@"%{_lib}"@g %{buildroot}/var/adm/fillup-templates/sysconfig.mysql-proxy rm -fv %{buildroot}%{_datadir}/*.lua @@ -66,7 +66,7 @@ %pre /usr/sbin/groupadd -r %{name} &>/dev/null || : /usr/sbin/useradd -r -g %{name} -s /bin/false -c "Daemon user for MySQL Proxy" \ - -d /var/lib/%{pkg_name} %{name} 2> /dev/null ||: + -d /var/lib/%{name} %{name} 2> /dev/null ||: %post /sbin/ldconfig