Create symlink between /lib/systemd/system/mcstrans.service -> /lib/systemd/system/mcstransd.service

- So service mstrans start will work
This commit is contained in:
Dan Walsh 2012-03-13 07:11:20 -04:00
parent 7c6e6abc59
commit 6e66439198
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: SELinux Translation Daemon
Name: mcstrans
Version: 0.3.3
Release: 3%{?dist}
Release: 4%{?dist}
License: GPL+
Group: System Environment/Daemons
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
@ -54,6 +54,7 @@ cp -r share/* %{buildroot}%{_usr}/share/mcstrans/
# Systemd
mkdir -p %{buildroot}%{_unitdir}
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
(cd %{buildroot}%{_unitdir}; ln -s mcstransd.service mcstrans.service)
rm -rf %{buildroot}/%{_sysconfdir}/rc.d/init.d/mcstrans
%clean
@ -83,6 +84,7 @@ fi
%{_mandir}/man8/setrans.conf.8.gz
/sbin/mcstransd
%{_unitdir}/mcstransd.service
%{_unitdir}/mcstrans.service
%dir %{_sysconfdir}/selinux/mls/setrans.d
%dir %{_usr}/share/mcstrans
@ -96,6 +98,10 @@ fi
%{_usr}/share/mcstrans/util/*
%changelog
* Tue Mar 13 2012 Dan Walsh <dwalsh@redhat.com> - 0.3.3-4
- Create symlink between /lib/systemd/system/mcstrans.service -> /lib/systemd/system/mcstransd.service
- So service mstrans start will work
* Thu Feb 2 2012 Dan Walsh <dwalsh@redhat.com> - 0.3.3-3
- Fix the systemd service file