Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
1d8cdc0aad
commit
701e270ff3
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user