From 50007bdc34d2729a644370ba415038f9f6eff634 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 4 May 2010 17:23:10 +0000 Subject: [PATCH] -For now, give up on ipmitool upstream folding in patch and install ipmitool-xcat until distros have a good ipmitool again Former-commit-id: f8dc13af640ede136fdbab415d138a440c1dfd96 --- ipmitool/ipmitool.spec | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/ipmitool/ipmitool.spec b/ipmitool/ipmitool.spec index c1efaa1..aac31f9 100644 --- a/ipmitool/ipmitool.spec +++ b/ipmitool/ipmitool.spec @@ -1,12 +1,11 @@ -Name: ipmitool +Name: ipmitool-xcat Summary: ipmitool - Utility for IPMI control -Conflicts: OpenIPMI-tools Version: 1.8.11 -Release: 2 +Release: 1 License: BSD Group: Utilities -Packager: Duncan Laurie -Source: %{name}-%{version}.tar.gz +Packager: Jarrod Johnson +Source: ipmitool-%{version}.tar.gz Patch: ipmitool-saneretry.patch Patch2: ipmitool-spdfix.patch Buildroot: /var/tmp/ipmitool-root @@ -31,7 +30,7 @@ if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then rm -rf $RPM_BUILD_ROOT fi -%setup +%setup -n ipmitool-%{version} %patch -p1 %patch2 -p1 @@ -49,7 +48,9 @@ fi make %install -make DESTDIR=$RPM_BUILD_ROOT install-strip +strip src/ipmitool +mkdir -p $RPM_BUILD_ROOT/opt/xcat/bin +cp src/ipmitool $RPM_BUILD_ROOT/opt/xcat/bin/ipmitool-xcat %clean if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then @@ -57,12 +58,7 @@ if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then fi %files -%defattr(755,root,root) -%attr(755,root,root) %{_bindir}/* -%attr(755,root,root) %{_sbindir}/* -%{_datadir}/ipmitool/* -%{_mandir}/man*/* -%doc %{_datadir}/doc/ipmitool +%attr(755,root,root) /opt/xcat/bin/ipmitool-xcat %changelog