SPECS: lsvpd.spec - standard service restart and stop (if it's bad...
glen
glen at pld-linux.org
Thu Mar 2 23:55:53 CET 2006
Author: glen Date: Thu Mar 2 22:55:53 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- standard service restart and stop (if it's bad idea leave note)
---- Files affected:
SPECS:
lsvpd.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: SPECS/lsvpd.spec
diff -u SPECS/lsvpd.spec:1.13 SPECS/lsvpd.spec:1.14
--- SPECS/lsvpd.spec:1.13 Sat Nov 19 14:17:25 2005
+++ SPECS/lsvpd.spec Thu Mar 2 23:55:45 2006
@@ -10,10 +10,10 @@
# Source0-md5: f310891ca548358e778d7009ba0c0976
URL: http://linux-diag.sourceforge.net/Lsvpd.html
BuildRequires: perl-base
+BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: sed >= 4.0
BuildRequires: sg3_utils-devel >= 1.01
BuildRequires: sysfsutils-devel >= 1.3.0-3
-PreReq: rc-scripts
Requires(post,preun): /sbin/chkconfig
Requires: /bin/bash
Requires: /bin/sed
@@ -42,7 +42,6 @@
%prep
%setup -q
-
sed -i -e "s,#!/bin/sh,#!/bin/bash," scripts/lsvpd.in
%build
@@ -72,9 +71,11 @@
%post
/sbin/chkconfig --add lsvpd
+%service lsvpd restart
%preun
if [ "$1" = "0" ] ; then
+ %service lsvpd stop
/sbin/chkconfig --del lsvpd
fi
@@ -121,6 +122,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2006/03/02 22:55:45 glen
+- standard service restart and stop (if it's bad idea leave note)
+
Revision 1.13 2005/11/19 13:17:25 qboosh
- updated to 0.14.1
@@ -155,8 +159,8 @@
- updated to 0.12.0
Revision 1.2 2004/05/15 01:09:55 adasi
- - it really requires bash
- - fixed attributes
+- it really requires bash
+- fixed attributes
Revision 1.1 2004/05/15 00:49:39 qboosh
- new, probably needs some work
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lsvpd.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list