OBS User unknown
2008-10-14 17:04:59 +00:00
committed by Git OBS Bridge
parent 557cede139
commit c811467632
3 changed files with 52 additions and 12 deletions

View File

@@ -23,11 +23,12 @@ BuildRequires: openssl-devel readline-devel
Url: http://ipmitool.sourceforge.net/
Summary: Utility for IPMI Control
Version: 1.8.10
Release: 2
Release: 3
License: BSD 3-Clause
Group: System/Management
Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
Patch: compile-fixes
Patch1: ipmitool-1.8.10-implicit-fortify-decl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -49,20 +50,15 @@ and setting LAN configuration, and chassis power control.
%prep
%setup
%setup -q
%patch -p1
%patch1
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--bindir=%{_bindir} \
--sbindir=%{_sbindir} \
--datadir=%{_datadir} \
--includedir=%{_includedir} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--sysconfdir=%{_sysconfdir}
make
touch INSTALL NEWS
autoreconf -fiv
%configure --with-pic
%{__make} %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
@@ -82,6 +78,8 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man8/*
%changelog
* Tue Oct 14 2008 crrodriguez@suse.de
- fix implicit-fortify-decl errors
* Fri Sep 26 2008 duwe@suse.de
- fix ugly code and sloppy programming found by RPMlint
* Fri Sep 12 2008 duwe@suse.de