From b9d68d6dafba96b5e492c8413e97fde855209739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 18 Jun 2018 12:55:44 +0200 Subject: [PATCH] Remove install-info from scriptlets --- sharutils.spec | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/sharutils.spec b/sharutils.spec index 737dd32..6091107 100644 --- a/sharutils.spec +++ b/sharutils.spec @@ -1,7 +1,7 @@ Summary: The GNU shar utilities for packaging and unpackaging shell archives Name: sharutils Version: 4.15.2 -Release: 10%{?dist} +Release: 11%{?dist} # The main code: GPLv3+ # lib (gnulib): GPLv3+ # lib/md5.c: Public Domain @@ -30,8 +30,6 @@ BuildRequires: make BuildRequires: sed # Tests: BuildRequires: diffutils -Requires(post): info -Requires(preun): info Provides: bundled(gnulib) # See libopts/autoopts/options.h for OPTIONS_DOTTED_VERSION Provides: bundled(libopts) = 41.1 @@ -73,14 +71,6 @@ chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO %check make check -%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 -f %{name}.lang %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS TODO @@ -90,6 +80,9 @@ fi %{_mandir}/man5/* %changelog +* Mon Jun 18 2018 Petr Pisar - 4.15.2-11 +- Remove install-info from scriptlets + * Tue Apr 10 2018 Petr Pisar - 4.15.2-10 - Adapt bundled gnulib to glibc-2.28