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:37 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-24 05:56:37 +0200
commitdb5e8f26947114f06480dd22b9db7e22e50ee133 (patch)
treebb7418b545d295ea7cc4f5e7404d262e51082e0f /doc/ipmiutil.spec
parent55adddbc16f65732b57ab8585c47001fced91d77 (diff)
Imported Upstream version 3.0.0upstream/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