From 84c7852e73797c21b862115a77909b4a5a7828f8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:40:33 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- units.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/units.spec b/units.spec index 11ad686..9c0990d 100644 --- a/units.spec +++ b/units.spec @@ -5,8 +5,6 @@ Release: 1%{?dist} Source: https://ftp.gnu.org/gnu/units/%{name}-%{version}.tar.gz URL: https://www.gnu.org/software/units/units.html License: GPLv3+ -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info BuildRequires: automake BuildRequires: bison BuildRequires: gcc @@ -46,16 +44,6 @@ ln -s units.1 %{buildroot}%{_mandir}/man1/units_cur.1 %check make check -%post -if [ -e %{_infodir}/units.info.gz ]; then - /sbin/install-info %{_infodir}/units.info.gz %{_infodir}/dir || : -fi - -%preun -if [ $1 = 0 -a -e %{_infodir}/units.info.gz ]; then - /sbin/install-info --delete %{_infodir}/units.info.gz %{_infodir}/dir || : -fi - %files %doc ChangeLog COPYING NEWS README %{_bindir}/units