diff --git a/sysvinit.spec b/sysvinit.spec index 5751ac9..f1b02b3 100644 --- a/sysvinit.spec +++ b/sysvinit.spec @@ -164,7 +164,8 @@ popd make install -C src MANPATH=%{_mandir} ROOT=${RPM_BUILD_ROOT} WITH_SELINUX=yes DISTRO=SuSE mv ${RPM_BUILD_ROOT}/sbin/init ${RPM_BUILD_ROOT}/sbin/sysvinit ln -s sysvinit ${RPM_BUILD_ROOT}/sbin/init - ln -sf sysvinit ${RPM_BUILD_ROOT}/sbin/telinit.sysvinit + mkdir -p ${RPM_BUILD_ROOT}/lib/sysvinit + ln -sf sysvinit ${RPM_BUILD_ROOT}/lib/sysvinit/telinit ln -sf sysvinit ${RPM_BUILD_ROOT}/sbin/telinit test -p ${RPM_BUILD_ROOT}/dev/initctl || { rm -f ${RPM_BUILD_ROOT}/dev/initctl @@ -237,7 +238,8 @@ fi %files %defattr (-,root,root,755) /sbin/sysvinit -/sbin/telinit.sysvinit +%dir /lib/sysvinit +/lib/sysvinit/telinit %files init %defattr (-,root,root,755)