From e3d138094a73b59cbefe6f15c0317c484084effe Mon Sep 17 00:00:00 2001 From: Kalpa Welivitigoda Date: Feb 23 2017 19:26:54 +0000 Subject: Remove the generated .desktop file With sugar-toolkit-gtk3, a .desktop file is generated in installing a Activity. The Icon and Path properties in the .desktop file contains BUILDROOT in the file path. Hence, the checks in /usr/lib/rpm/check-buildroot fails and ultimately the packing is failed. This .desktop file is not being used in sugar itself, thus won't affect the functionality of the Activity. Hence as a temporary resolution, removing the generated .desktop file. --- diff --git a/sugar-words.spec b/sugar-words.spec index 5b59ad8..0bb9d1e 100644 --- a/sugar-words.spec +++ b/sugar-words.spec @@ -1,6 +1,6 @@ Name: sugar-words Version: 21 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A multi lingual dictionary with speech synthesis Group: Sugar/Activities @@ -28,6 +28,7 @@ rm po/son.po %install %{__python} ./setup.py install --prefix=%{buildroot}/%{_prefix} +rm %{buildroot}%{_prefix}/share/applications/*.desktop || true %find_lang org.laptop.Words @@ -36,6 +37,9 @@ rm po/son.po %{sugaractivitydir}/Words.activity/ %changelog +* Thu Feb 23 2017 Kalpa Welivitigoda - 21-5 +- Remove the generated .desktop file (#1424517) + * Sat Feb 11 2017 Fedora Release Engineering - 21-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild