From ba21033ce1b8fa46dc01243d2332ccf9cb39ff1c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:40:00 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- pinentry.spec | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pinentry.spec b/pinentry.spec index e45a520..5fb85f4 100644 --- a/pinentry.spec +++ b/pinentry.spec @@ -23,8 +23,6 @@ BuildRequires: libsecret-devel BuildRequires: pkgconfig(Qt5Core) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets) Requires(pre): %{_sbindir}/update-alternatives -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info Provides: %{name}-curses = %{version}-%{release} @@ -107,17 +105,6 @@ install -p -m755 -D %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/pinentry # unpackaged files rm -fv $RPM_BUILD_ROOT%{_infodir}/dir - -%post -if [ -f %{_infodir}/pinentry.info* ]; then -/sbin/install-info %{_infodir}/pinentry.info %{_infodir}/dir ||: -fi - -%preun -if [ $1 -eq 0 -a -f %{_infodir}/pinentry.info* ] ; then - /sbin/install-info --delete %{_infodir}/pinentry.info %{_infodir}/dir ||: -fi - %files %license COPYING %doc AUTHORS ChangeLog NEWS README THANKS TODO