diff --git a/time.spec b/time.spec index bc9130b1d4a7dd377cdcd5affe34d157d5aa2c0b..f104d0f5c65cec68e6ac6f2e371843b6e8f1daa3 100644 --- a/time.spec +++ b/time.spec @@ -1,7 +1,8 @@ +%define anolis_release .0.1 Summary: A GNU utility for monitoring a program's use of system resources Name: time Version: 1.9 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} # src/time.c: GPLv3+ # COPYING: GPLv3 text # doc/time.texi: GFDL @@ -60,6 +61,14 @@ The GNU time utility runs another program, collects information about the resources used by that program while it is running, and displays the results. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q %patch0 -p1 @@ -89,12 +98,17 @@ fi %files %license COPYING -%doc AUTHORS ChangeLog NEWS README %{_bindir}/time %{_infodir}/time.info* # time(1) manual page lives in man-pages package, bug #1612725. +%files doc +%doc AUTHORS ChangeLog NEWS README + %changelog +* Mon Jul 18 2022 Hangbo Fan - 1.9-3.0.1 +- Add doc sub package + * Tue Aug 07 2018 Petr Pisar - 1.9-3 - Remove time(1) manual page because it's provided by man-pages (bug #1612725)