Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 19:39:21 +01:00
parent 1d8cdc0aad
commit 701e270ff3
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -14,8 +14,6 @@ Source2: %{name}.desktop
Source3: %{name}-sound.desktop
Patch0: moon-buggy-1.0.51-pause.patch
Patch1: moon-buggy-1.0.51-sound.patch
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRequires: gcc
BuildRequires: ncurses-devel, texinfo
%if !%{oldstyle}
@ -74,14 +72,6 @@ sed -i 's|\r$||g' TODO.utf8
touch -c -r TODO TODO.utf8
mv -f TODO.utf8 TODO
%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi
%files
%doc ANNOUNCE AUTHORS ChangeLog COPYING README THANKS
%if !%{oldstyle}