Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-07 19:04:22 +01:00
commit cc175a4c8a

View file

@ -1,6 +1,6 @@
Name: alex4
Version: 1.0
Release: 23%{?dist}
Release: 24%{?dist}
Summary: Alex the Allegator 4 - Platform game
Group: Amusements/Games
License: GPL+
@ -54,19 +54,6 @@ appstream-util validate-relax --nonet \
$RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%doc license.txt readme.txt alex4.ini
%{_bindir}/%{name}
@ -77,6 +64,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0-24
- Remove obsolete scriptlets
* Fri Sep 08 2017 Hans de Goede <hdegoede@redhat.com> - 1.0-23
- Run windowed rather then fullscreen by default
- Add example alex4.ini to the documentation (for e.g. setting fullscreen mode)