Cleanup spec and tar ball for acceptance into core

This commit is contained in:
Daniel J Walsh 2006-05-10 20:08:34 +00:00
parent f205944970
commit 6374afb0cd
3 changed files with 9 additions and 6 deletions

View File

@ -1 +1,2 @@
mcstrans-0.1.1.tgz
mcstrans-0.1.1-1.src.rpm

View File

@ -5,10 +5,12 @@ Release: 1
License: GPL
Group: System Environment/Daemons
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libselinux-devel >= 1.30.3-1
Prereq: /sbin/chkconfig /sbin/service
Requires(pre): /sbin/chkconfig /sbin/service
Requires(post):/sbin/chkconfig /sbin/service
Provides: setransd
Provides: libsetrans
Obsoletes: libsetrans
%description
@ -48,20 +50,20 @@ chkconfig --add mcstransd
%preun
if [ $1 -eq 0 ]; then
service mcstransd stop > /dev/null 2>&1
service mcstrans stop > /dev/null 2>&1
chkconfig --del mcstransd
fi
%postun
if [ $1 -ge 1 ]; then
service mcstransd condrestart > /dev/null 2>&1 || :
service mcstrans condrestart > /dev/null 2>&1 || :
fi
%files
%defattr(-,root,root,0755)
%{_mandir}/man8/mcs.8.gz
/sbin/mcstransd
%{_sysconfdir}/init.d/mcstransd
%{_sysconfdir}/init.d/mcstrans
%changelog
* Mon Mar 13 2006 Dan Walsh <dwalsh@redhat.com> 0.1.1-1

View File

@ -1 +1 @@
6e018378345c7f103f9835d9f963fdb0 mcstrans-0.1.1.tgz
ed5545190a2e14cfbd2c45390caadae7 mcstrans-0.1.1.tgz