[amtu] Remove init script

Steve Grubb sgrubb at fedoraproject.org
Mon May 14 15:22:20 UTC 2012


commit 41f31a2eb2d21751b71a648763ec7bb75f066754
Author: Steve <sgrubb at redhat.com>
Date:   Mon May 14 11:21:40 2012 -0400

    Remove init script

 amtu-1.0.8-init.patch |  146 -------------------------------------------------
 amtu.spec             |   21 ++-----
 2 files changed, 5 insertions(+), 162 deletions(-)
---
diff --git a/amtu.spec b/amtu.spec
index 1f47b9f..2c9197c 100644
--- a/amtu.spec
+++ b/amtu.spec
@@ -1,18 +1,16 @@
 Summary: Abstract Machine Test Utility (AMTU)
 Name: amtu 
 Version: 1.0.8
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: CPL
 Group: System Environment/Base
 URL: http://sourceforge.net/projects/amtueal/
 Source0: %{name}-%{version}.tar.gz
 Patch1: amtu-1.0.8-doc.patch
-Patch2: amtu-1.0.8-init.patch
-Patch3: amtu-1.0.8-memsep.patch
+Patch2: amtu-1.0.8-memsep.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: audit-libs-devel >= 1.1.2
 BuildRequires: automake
-Requires: chkconfig
 ExclusiveArch: i386 i686 x86_64 ppc ppc64 s390 s390x ia64
 
 %description
@@ -26,7 +24,6 @@ http://www.radium.ncsc.mil/tpep/library/protection_profiles/CAPP-1.d.pdf
 %setup -q
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 touch ChangeLog
@@ -43,24 +40,16 @@ make "DESTDIR=${RPM_BUILD_ROOT}" "bindir=%{_sbindir}" install
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/chkconfig --add amtu
-
-%preun
-if [ $1 -eq 0 ]; then
-   /sbin/service amtu stop > /dev/null 2>&1
-   /sbin/chkconfig --del amtu
-fi
-
 %files
 %defattr(-,root,root, -)
 %doc doc/AMTUHowTo.txt LICENSE
-%attr(755,root,root) /etc/rc.d/init.d/amtu
-%config(noreplace) %attr(640,root,root) /etc/sysconfig/amtu
 %attr(0750,root,root) %{_sbindir}/amtu
 %attr(0644,root,root) %{_mandir}/man8/*
 
 %changelog
+* Mon May 14 2012 Steve Grubb <sgrubb at redhat.com> - 1.0.8-10
+- Remove init script
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.8-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list