Make psutils a weak dependency

This commit is contained in:
Nikola Forró 2021-03-17 09:01:10 +01:00
parent 0cab4f6529
commit 70bea36505

View File

@ -3,7 +3,7 @@
Summary: A document formatting system Summary: A document formatting system
Name: groff Name: groff
Version: 1.22.4 Version: 1.22.4
Release: 6%{?dist} Release: 7%{?dist}
License: GPLv3+ and GFDL and BSD and MIT License: GPLv3+ and GFDL and BSD and MIT
URL: http://www.gnu.org/software/groff/ URL: http://www.gnu.org/software/groff/
Source: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
@ -18,7 +18,9 @@ Patch3: 0004-don-t-use-usr-bin-env-in-shebang.patch
# allow to specify custom docdir # allow to specify custom docdir
Patch4: 0005-do-not-overwrite-docdir.patch Patch4: 0005-do-not-overwrite-docdir.patch
Requires: coreutils, psutils, groff-base = %{version}-%{release} Requires: coreutils, groff-base = %{version}-%{release}
Recommends: psutils
Requires(post): %{_sbindir}/update-alternatives Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives
@ -475,6 +477,9 @@ fi
%doc %{_pkgdocdir}/pdf/ %doc %{_pkgdocdir}/pdf/
%changelog %changelog
* Wed Mar 17 2021 Nikola Forró <nforro@redhat.com> - 1.22.4-7
- Make psutils a weak dependency
* Mon Feb 22 2021 Nikola Forró <nforro@redhat.com> - 1.22.4-6 * Mon Feb 22 2021 Nikola Forró <nforro@redhat.com> - 1.22.4-6
- Add psutils as a runtime dependency (needed for groff -Thtml) - Add psutils as a runtime dependency (needed for groff -Thtml)