From ab6a60f5346d27e4219131c445803ea6c75102a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 19 Jun 2018 17:49:28 +0200 Subject: [PATCH] Remove install-info from scriptlets --- groff.spec | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/groff.spec b/groff.spec index 5dc93a0..1b34558 100644 --- a/groff.spec +++ b/groff.spec @@ -3,7 +3,7 @@ Summary: A document formatting system Name: groff Version: 1.22.3 -Release: 15%{?dist} +Release: 16%{?dist} License: GPLv3+ and GFDL and BSD and MIT Group: Applications/Publishing URL: http://www.gnu.org/software/groff/ @@ -19,9 +19,7 @@ Patch3: 0004-don-t-use-usr-bin-env-in-shebang.patch # SSIA Patch4: 0005-Add-missing-rule-for-gropdf.patch -Requires: coreutils, /sbin/install-info, groff-base = %{version}-%{release} -Requires(post): info -Requires(preun): info +Requires: coreutils, groff-base = %{version}-%{release} BuildRequires: gcc, gcc-c++ BuildRequires: git, netpbm-progs, perl-generators, psutils, ghostscript Provides: nroff-i18n = %{version}-%{release} @@ -84,8 +82,6 @@ Summary: Documentation for groff document formatting system Group: Documentation BuildArch: noarch Requires: groff = %{version}-%{release} -Requires(post): info -Requires(preun): info %description doc The groff-doc package includes additional documentation for groff @@ -150,14 +146,6 @@ popd # /bin/sed moved to /usr/bin/sed in Fedora sed --in-place 's|#! /bin/sed -f|#! /usr/bin/sed -f|' %{buildroot}%{_datadir}/groff/%{version}/font/devps/generate/symbol.sed -%post -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - %files # data %{_datadir}/%{name}/%{version}/font/devdvi/ @@ -426,6 +414,9 @@ fi %doc %{_pkgdocdir}/pdf/ %changelog +* Tue Jun 19 2018 Nikola Forró - 1.22.3-16 +- Remove install-info from scriptlets + * Tue Feb 27 2018 Nikola Forró - 1.22.3-15 - Add unowned directories to groff-base and groff-perl resolves: #1548688