fix hardlinks
This commit is contained in:
parent
ae9676d5c2
commit
b3c3a293e2
@ -1,7 +1,7 @@
|
|||||||
Summary: A collection of tools for managing UNIX services
|
Summary: A collection of tools for managing UNIX services
|
||||||
Name: daemontools-encore
|
Name: daemontools-encore
|
||||||
Version: 1.10
|
Version: 1.10
|
||||||
Release: 4%{dist}.sme
|
Release: 4%{dist}
|
||||||
License: Public domain
|
License: Public domain
|
||||||
Group: Utilities/System
|
Group: Utilities/System
|
||||||
URL: http://untroubled.org/daemontools-encore/
|
URL: http://untroubled.org/daemontools-encore/
|
||||||
@ -49,6 +49,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/init
|
|||||||
install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/init/svscanboot.conf
|
install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/init/svscanboot.conf
|
||||||
%endif
|
%endif
|
||||||
mkdir -p %{buildroot}/service
|
mkdir -p %{buildroot}/service
|
||||||
|
# symink executables to legacy SME directory
|
||||||
|
mkdir -p %{buildroot}/usr/local/bin
|
||||||
|
for prog in envdir envuidgid fghack multilog pgrphack readproctitle setlock setuidgid softlimit supervise svc svok svscan svscanboot svstat ; do
|
||||||
|
ln %{buildroot}/usr/bin/$prog %{buildroot}/usr/local/bin/$prog
|
||||||
|
done
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%if %{rhel} >= 7
|
%if %{rhel} >= 7
|
||||||
@ -105,6 +110,7 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%attr(0755,root,root) /usr/bin/*
|
%attr(0755,root,root) /usr/bin/*
|
||||||
/usr/share/man/man8/*
|
/usr/share/man/man8/*
|
||||||
|
/usr/local/bin/*
|
||||||
%if %{rhel} >= 7
|
%if %{rhel} >= 7
|
||||||
/usr/lib/systemd/system/daemontools.service
|
/usr/lib/systemd/system/daemontools.service
|
||||||
%endif
|
%endif
|
||||||
@ -115,6 +121,10 @@ fi
|
|||||||
%doc README CHANGES CHANGES.djb LICENSE TODO
|
%doc README CHANGES CHANGES.djb LICENSE TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 20 2025 Trevor Batley <trevorb@koozali.org> 1.10-4
|
||||||
|
- add debug_pkg %{nil} to remove empty debuginfo file error
|
||||||
|
- fix symlink of executables to legacy sme directory
|
||||||
|
|
||||||
* Thu Jan 16 2025 Trevor Batley <trevorb@koozali.org> 1.10-3
|
* Thu Jan 16 2025 Trevor Batley <trevorb@koozali.org> 1.10-3
|
||||||
- check that systemctl exists in post install
|
- check that systemctl exists in post install
|
||||||
- symlink executables to legacy sme directory
|
- symlink executables to legacy sme directory
|
||||||
|
Loading…
Reference in New Issue
Block a user