- Move amtu to /usr/sbin
This commit is contained in:
parent
746312a33a
commit
120a58d953
2 changed files with 9 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ diff -urN amtu-1.0.8.orig/init/amtu.init amtu-1.0.8/init/amtu.init
|
|||
+# halt the machine in the event of failure. The program does
|
||||
+# not stay resident, but rather runs once.
|
||||
+#
|
||||
+# processname: /sbin/amtu
|
||||
+# processname: /usr/sbin/amtu
|
||||
+# config: /etc/sysconfig/amtu
|
||||
+#
|
||||
+# Return values according to LSB for all commands but status:
|
||||
|
|
@ -37,7 +37,7 @@ diff -urN amtu-1.0.8.orig/init/amtu.init amtu-1.0.8/init/amtu.init
|
|||
+# 6 - program is not configured
|
||||
+# 7 - program is not running
|
||||
+
|
||||
+PATH=/sbin:/bin:/usr/bin:/usr/sbin
|
||||
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
+prog="amtu"
|
||||
+
|
||||
+# Source function library.
|
||||
|
|
@ -57,7 +57,7 @@ diff -urN amtu-1.0.8.orig/init/amtu.init amtu-1.0.8/init/amtu.init
|
|||
+RETVAL=0
|
||||
+
|
||||
+start() {
|
||||
+ test -x /usr/bin/amtu || exit 5
|
||||
+ test -x /usr/sbin/amtu || exit 5
|
||||
+ # Now check that the syconfig is found and has important things
|
||||
+ # configured
|
||||
+ test -f /etc/sysconfig/amtu || exit 6
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Abstract Machine Test Utility (AMTU)
|
||||
Name: amtu
|
||||
Version: 1.0.8
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: CPL
|
||||
Group: System Environment/Base
|
||||
URL: http://sourceforge.net/projects/amtueal/
|
||||
|
|
@ -38,7 +38,7 @@ make %{?_smp_mflags}
|
|||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make "DESTDIR=${RPM_BUILD_ROOT}" install
|
||||
make "DESTDIR=${RPM_BUILD_ROOT}" "bindir=%{_sbindir}" install
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
|
@ -57,10 +57,13 @@ fi
|
|||
%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) %{_bindir}/amtu
|
||||
%attr(0750,root,root) %{_sbindir}/amtu
|
||||
%attr(0644,root,root) %{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Tue Feb 16 2010 Steve Grubb <sgrubb@redhat.com> - 1.0.8-7
|
||||
- Move amtu to /usr/sbin
|
||||
|
||||
* Mon Jan 18 2010 Steve Grubb <sgrubb@redhat.com> - 1.0.8-6
|
||||
- Fix off by one in memory separation test
|
||||
|
||||
|
|
|
|||
Reference in a new issue