diff --git a/man-db.spec b/man-db.spec index 074abfd0b784b124c546ca512fcaa4a005a76fb4..470238306b6c7e9e2d45d78e62e0ac0e19c58e37 100644 --- a/man-db.spec +++ b/man-db.spec @@ -1,10 +1,11 @@ +%define anolis_release .0.1 %global cache /var/cache/man %global gnulib_ver 20140202 Summary: Tools for searching and reading man pages Name: man-db Version: 2.7.6.1 -Release: 18%{?dist} +Release: 18%{anolis_release}%{?dist} # GPLv2+ .. man-db # GPLv3+ .. gnulib License: GPLv2+ and GPLv3+ @@ -37,6 +38,9 @@ BuildRequires: systemd BuildRequires: gdbm-devel, gettext, groff, less, libpipeline-devel, zlib-devel BuildRequires: po4a, perl-interpreter, perl-version +Requires: glibc +Requires: bash + %description The man-db package includes five tools for browsing man-pages: man, whatis, apropos, manpath and lexgrog. man formats and displays @@ -57,6 +61,14 @@ BuildArch: noarch %description cron This package provides periodic update of man-db cache. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %autosetup -p1 @@ -136,7 +148,6 @@ fi %files -f %{name}.lang -f %{name}-gnulib.lang %{!?_licensedir:%global license %%doc} %license docs/COPYING -%doc README man-db-manual.txt man-db-manual.ps ChangeLog NEWS %config(noreplace) %{_sysconfdir}/man_db.conf %config(noreplace) %{_sysconfdir}/sysconfig/man-db %config(noreplace) %{_tmpfilesdir}/man-db.conf @@ -184,7 +195,13 @@ fi %files cron %config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron +%files doc +%doc README man-db-manual.txt man-db-manual.ps ChangeLog NEWS + %changelog +* Fri Jul 15 2022 Weisson - 2.7.6.1-18.0.1 +- Add doc sub package + * Thu Jun 24 2021 Nikola Forró - 2.7.6.1-18 - schedule interrupted cache update for the next boot, instead of blocking system reboot/shutdown