bruno pushed to hedgewars (f21). "Fix issues with appdata (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 8 00:05:21 UTC 2015
>From c3ce891b3503b9ea31e82d9e334b3f9ab21531d3 Mon Sep 17 00:00:00 2001
From: Bruno Wolff III <bruno at wolff.to>
Date: Tue, 7 Apr 2015 18:42:08 -0500
Subject: Fix issues with appdata
No execute on the xml file.
Use license-metadata instead of the deprectated licence.
diff --git a/hedgewars.spec b/hedgewars.spec
index ced2cea..a7abffe 100644
--- a/hedgewars.spec
+++ b/hedgewars.spec
@@ -9,7 +9,10 @@ Source0: http://download.gna.org/hedgewars/hedgewars-src-%{version}.tar.b
# The hedgewars physfs helper library needs to be installed in the correct
# library directory according to arch
Patch5: hedgewars-multilib.patch
+# Prevent use of rpath
Patch6: rpath-fix.patch
+# Replace licence tag with metadata-license tag
+Patch7: appdata.patch
BuildRequires: fpc qt4-devel SDL_mixer-devel SDL_net-devel SDL_image-devel
BuildRequires: SDL_ttf-devel openssl-devel cmake desktop-file-utils
BuildRequires: libpng-devel physfs-devel
@@ -58,6 +61,7 @@ A standalone server that can be used for LAN play or a private internet server.
%setup -q -n hedgewars-src-0.9.21
%patch5 -p0
%patch6 -p0
+%patch7 -p0
# Make sure that we don't use bundled libraries
rm -r misc/liblua misc/libphysfs
@@ -137,7 +141,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/%{name}/Data/Music
%{_datadir}/%{name}/Data/Scripts
%{_datadir}/%{name}/Data/Themes
-%{_datadir}/appdata
+%attr(644, -, -) %{_datadir}/appdata/*
%{_datadir}/applications/hedgewars.desktop
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
@@ -152,6 +156,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Tue Apr 07 2015 Bruno Wolff III <bruno at wolff.to> - 0.9.21.1-4
- Fix rpath issue
+- Fix appdata issues
* Mon Feb 16 2015 Bruno Wolff III <bruno at wolff.to> - 0.9.21.1-3
- Use ghc-bytestring-show
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/hedgewars.git/commit/?h=f21&id=c3ce891b3503b9ea31e82d9e334b3f9ab21531d3
More information about the scm-commits
mailing list