summaryrefslogtreecommitdiff
path: root/doc/ipmiutil.spec
diff options
context:
space:
mode:
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