- Initial Version

- This daemon reuses the code from libsetrans
This commit is contained in:
Daniel J Walsh 2006-05-09 21:46:11 +00:00
parent 1c823ee2dd
commit 9015b2cbb8

View File

@ -4,9 +4,11 @@ Version: 0.1.1
Release: 1 Release: 1
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
Source: %{name}-%{version}.tgz Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: libselinux-devel >= 1.30.3-3 BuildRequires: libselinux-devel >= 1.30.3-1
Prereq: /sbin/chkconfig /sbin/service
Provides: setransd
Obsoletes: libsetrans Obsoletes: libsetrans
%description %description
@ -46,13 +48,13 @@ chkconfig --add mcstransd
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/sbin/service mcstransd stop > /dev/null 2>&1 service mcstransd stop > /dev/null 2>&1
/sbin/chkconfig --del mcstransd chkconfig --del mcstransd
fi fi
%postun %postun
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
/sbin/service mcstransd condrestart > /dev/null 2>&1 || : service mcstransd condrestart > /dev/null 2>&1 || :
fi fi
%files %files
@ -64,4 +66,4 @@ fi
%changelog %changelog
* Mon Mar 13 2006 Dan Walsh <dwalsh@redhat.com> 0.1.1-1 * Mon Mar 13 2006 Dan Walsh <dwalsh@redhat.com> 0.1.1-1
- Initial Version - Initial Version
- This daemon reuses the code from libsetrans