summaryrefslogtreecommitdiff
path: root/doc/ipmiutil.spec
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 05:56:41 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 05:56:41 +0200
commit2ae382d10a07feaed2d8e06ce078084ecaf1b447 (patch)
treeb9c8c5ab3485c040b19443e4a573f48b9092d47d /doc/ipmiutil.spec
parent7d5dd1122da7acfca715242ec6cb6d1fd844691b (diff)
parentdb5e8f26947114f06480dd22b9db7e22e50ee133 (diff)
Merge tag 'upstream/3.0.0'
Upstream version 3.0.0
Diffstat (limited to 'doc/ipmiutil.spec')
-rw-r--r--doc/ipmiutil.spec12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/ipmiutil.spec b/doc/ipmiutil.spec
index bff272f..47d1e14 100644
--- a/doc/ipmiutil.spec
+++ b/doc/ipmiutil.spec
@@ -3,7 +3,7 @@
# Copyright (c) 2012 Andy Cress
#
Name: ipmiutil
-Version: 2.9.9
+Version: 3.0.0
Release: 1%{?dist}
Summary: Easy-to-use IPMI server management utilities
License: BSD
@@ -35,9 +35,9 @@ BuildRequires: gcc gcc-c++ libtool
%else
%if 0%{?rhel} >= 7
BuildRequires: systemd-units
-%define unit_dir %{_unitdir}
%endif
-%{!?unit_dir: %define unit_dir /usr/lib/systemd/system}
+%{!?_unitdir: %define _unitdir /usr/lib/systemd/system}
+%define unit_dir %{_unitdir}
%endif
%endif
%define init_dir %{_initrddir}
@@ -117,7 +117,7 @@ rm -rf %{buildroot}
%{_sbindir}/ifirewall
%{_sbindir}/ifwum
%{_sbindir}/ihpm
-%{_libdir}/libipmiutil.so*
+%{_libdir}/libipmiutil.so.1
%{_datadir}/%{name}/ipmiutil_evt
%{_datadir}/%{name}/ipmiutil_asy
%{_datadir}/%{name}/ipmiutil_wdt
@@ -176,12 +176,16 @@ rm -rf %{buildroot}
%{_datadir}/%{name}/isensor.h
%{_datadir}/%{name}/ievents.h
%{_datadir}/%{name}/Makefile
+%{_libdir}/libipmiutil.so
%{_includedir}/ipmicmd.h
%files static
%defattr(-,root,root)
%{_libdir}/libipmiutil.a
+%post devel
+/sbin/ldconfig
+
%pre
%if 0%{?req_systemd}
%service_add_pre ipmi_port.service ipmiutil_evt.service ipmiutil_asy.service ipmiutil_wdt.service