[mcstrans/f17] Create symlink between /lib/systemd/system/mcstrans.service -> /lib/systemd/system/mcstransd.service
Daniel J Walsh
dwalsh at fedoraproject.org
Tue Mar 13 11:11:23 UTC 2012
commit 6e66439198a90754c73196217e98707809c7070d
Author: Dan Walsh <dwalsh at redhat.com>
Date: Tue Mar 13 07:11:20 2012 -0400
Create symlink between /lib/systemd/system/mcstrans.service -> /lib/systemd/system/mcstransd.service
- So service mstrans start will work
mcstrans.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/mcstrans.spec b/mcstrans.spec
index e3b0234..d08673a 100644
--- a/mcstrans.spec
+++ b/mcstrans.spec
@@ -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 at 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 at redhat.com> - 0.3.3-3
- Fix the systemd service file
More information about the scm-commits
mailing list