diff --git a/ipmitool.spec b/ipmitool.spec index a9d3f054c1b333b5d0c2bfb4b0831b85b3b4e539..7b68bbfaff9419430879a27e6f8888312b6d6bee 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -1,4 +1,5 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 + Name: ipmitool Summary: Utility for IPMI control Version: 1.8.18 @@ -93,6 +94,14 @@ OS information to the BMC and also capture the BMC ip info for the host OS to use. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %autosetup -p1 @@ -170,9 +179,11 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn %files %{_bindir}/ipmitool %{_mandir}/man1/ipmitool.1* -%doc %{_datadir}/doc/ipmitool %{_datadir}/ipmitool +%files doc +%doc %{_datadir}/doc/ipmitool + %files -n ipmievd %config(noreplace) %{_sysconfdir}/sysconfig/ipmievd %{_unitdir}/ipmievd.service @@ -191,6 +202,9 @@ install -Dm 755 contrib/bmc-snmp-proxy %{buildroot}%{_libexecdir}/bmc-sn %{_libexecdir}/bmc-snmp-proxy %changelog +* Mon Jul 18 2022 DengXiewei - 1.8.18-18.0.2 +- Add doc sub package + * Thu Jan 20 2022 Weitao Zhou 1.8.18-18.0.1 - add missing header for compatible gcc10 build