- Initial Version
- This daemon reuses the code from libsetrans
This commit is contained in:
parent
1c823ee2dd
commit
9015b2cbb8
@ -4,9 +4,11 @@ Version: 0.1.1
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: System Environment/Daemons
|
||||
Source: %{name}-%{version}.tgz
|
||||
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
|
||||
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
|
||||
|
||||
%description
|
||||
@ -46,13 +48,13 @@ chkconfig --add mcstransd
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/service mcstransd stop > /dev/null 2>&1
|
||||
/sbin/chkconfig --del mcstransd
|
||||
service mcstransd stop > /dev/null 2>&1
|
||||
chkconfig --del mcstransd
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ $1 -ge 1 ]; then
|
||||
/sbin/service mcstransd condrestart > /dev/null 2>&1 || :
|
||||
service mcstransd condrestart > /dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%files
|
||||
@ -64,4 +66,4 @@ fi
|
||||
%changelog
|
||||
* Mon Mar 13 2006 Dan Walsh <dwalsh@redhat.com> 0.1.1-1
|
||||
- Initial Version
|
||||
|
||||
- This daemon reuses the code from libsetrans
|
||||
|
Loading…
Reference in New Issue
Block a user