diff --git a/asc.spec b/asc.spec index 6289335..ac6e5b4 100644 --- a/asc.spec +++ b/asc.spec @@ -1,9 +1,9 @@ Name: asc Version: 1.16.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Advanced Strategic Command Group: Amusements/Games -License: GPL +License: GPLv2+ URL: http://www.asc-hq.org/ Source0: http://downloads.sourceforge.net/asc-hq/asc-source-%{version}.tar.bz2 Source1: %{name}.desktop @@ -55,11 +55,15 @@ rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor || : -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi %postun touch --no-create %{_datadir}/icons/hicolor || : -%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi %files @@ -72,5 +76,8 @@ touch --no-create %{_datadir}/icons/hicolor || : %{_mandir}/man6/%{name}*.6.gz %changelog +* Sun Aug 5 2007 Hans de Goede 1.16.4.0-2 +- Update License tag for new Licensing Guidelines compliance + * Mon Mar 19 2007 Hans de Goede 1.16.4.0-1 - Initial Fedora Extras package based on specfile by Che (newrpms)