packages: ipmitool/ipmitool.spec - ipmi initscript moved to ipmi-init package

glen glen at pld-linux.org
Wed Jan 26 16:20:36 CET 2011


Author: glen                         Date: Wed Jan 26 15:20:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ipmi initscript moved to ipmi-init package

---- Files affected:
packages/ipmitool:
   ipmitool.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: packages/ipmitool/ipmitool.spec
diff -u packages/ipmitool/ipmitool.spec:1.39 packages/ipmitool/ipmitool.spec:1.40
--- packages/ipmitool/ipmitool.spec:1.39	Wed Jan 19 17:42:42 2011
+++ packages/ipmitool/ipmitool.spec	Wed Jan 26 16:20:31 2011
@@ -3,23 +3,20 @@
 Summary(pl.UTF-8):	Prosty interfejs do systemów obsługujących IPMI działający z linii poleceń
 Name:		ipmitool
 Version:	1.8.11
-Release:	8
+Release:	9
 License:	BSD
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/ipmitool/%{name}-%{version}.tar.gz
 # Source0-md5:	0f9b4758c2b7e8a7bafc2ead113b4bc6
 Source1:	%{name}-ipmievd.init
 Source2:	%{name}-ipmievd.sysconfig
-Source3:	ipmi.init
-Source4:	ipmi.sysconfig
 URL:		http://ipmitool.sourceforge.net/
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake
 BuildRequires:	libltdl-devel
-Requires(post,preun):	/sbin/chkconfig
-Requires:	rc-scripts
 BuildRequires:	libtool
 BuildRequires:	rpmbuild(macros) >= 1.268
+Suggests:	ipmi-init
 Obsoletes:	ipmitool-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -90,24 +87,12 @@
 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ipmievd
 cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ipmievd
-install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/ipmi
-cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/ipmi
 
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/chkconfig --add ipmi
-# NOTE: we do not restart ipmi on upgrade
-
-%preun
-if [ "$1" = "0" ]; then
-	/sbin/chkconfig --del ipmi
-	# NOTE: ipmi stop doesn't do anything
-fi
-
 %post ipmievd
 /sbin/chkconfig --add ipmievd
 %service ipmievd restart
@@ -140,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2011/01/26 15:20:31  glen
+- ipmi initscript moved to ipmi-init package
+
 Revision 1.39  2011/01/19 16:42:42  glen
 - add sysconfig for ipmi initscript; rel 8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ipmitool/ipmitool.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list