diff --git a/iprutils.spec b/iprutils.spec index 1653ff38ff5c7974a941939129aa8916b2c28b6d..62a78e4f7785dce3faf932ec81365be7783efaf0 100644 --- a/iprutils.spec +++ b/iprutils.spec @@ -1,9 +1,11 @@ +%define anolis_release .0.1 + %global gitver rel-2-4-19 Summary: Utilities for the IBM Power Linux RAID adapters Name: iprutils Version: 2.4.19 -Release: 1%{?dist} +Release: 1%{anolis_release}%{?dist} License: CPL Group: System Environment/Base URL: https://github.com/bjking1/iprutils @@ -25,6 +27,14 @@ Provides a suite of utilities to manage and configure SCSI devices supported by the ipr SCSI storage device driver. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %autosetup -p1 -n %{name}-%{gitver} @@ -63,7 +73,6 @@ rm %{buildroot}/%{_sysconfdir}/ha.d/resource.d/iprha %files %license LICENSE -%doc README %{_sbindir}/* %{_sysconfdir}/bash_completion.d/ %{_mandir}/man*/* @@ -73,8 +82,14 @@ rm %{buildroot}/%{_sysconfdir}/ha.d/resource.d/iprha %{_unitdir}/iprutils.target %{_udevrulesdir}/90-iprutils.rules +%files doc +%doc README + %changelog +* Mon Jul 18 2022 DengXiewei - 2.4.19-1.0.1 +- Add doc sub package + * Mon May 11 2020 Than Ngo - 2.4.19-1 - Resolves: #1781926, rebased to 2.4.19