diff --git a/00-fix-vala-issues.patch b/00-fix-vala-issues.patch new file mode 100644 index 0000000..be43c37 --- /dev/null +++ b/00-fix-vala-issues.patch @@ -0,0 +1,13 @@ +diff --git a/src/DesktopApp.vala b/src/DesktopApp.vala +index 0e6fa47..fc7a11e 100644 +--- a/src/DesktopApp.vala ++++ b/src/DesktopApp.vala +@@ -130,7 +130,7 @@ public class AppEditor.DesktopApp : Object { + + public unowned string get_path () { + if (path == null) { +- unowned string _path = info.get_string (KeyFileDesktop.KEY_PATH); ++ string _path = info.get_string (KeyFileDesktop.KEY_PATH); + if (_path == null) { + _path = ""; + } diff --git a/appeditor.spec b/appeditor.spec index 55c87be..6803c8a 100644 --- a/appeditor.spec +++ b/appeditor.spec @@ -3,12 +3,15 @@ Name: appeditor Summary: Edit application menu Version: 1.1.0 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ URL: https://github.com/donadigo/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +# simple patch to fix compilation with newer vala versions +Patch0: 00-fix-vala-issues.patch + BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib @@ -22,7 +25,6 @@ BuildRequires: pkgconfig(gtk+-3.0) Requires: contractor Requires: hicolor-icon-theme - %description AppEditor allows you to edit application entries in the application menu. Some of it's features include: @@ -33,7 +35,7 @@ of it's features include: %prep -%autosetup +%autosetup -p1 %build @@ -68,6 +70,9 @@ appstream-util validate-relax --nonet \ %changelog +* Sat Nov 02 2019 Fabio Valentini - 1.1.0-4 +- Include a simple patch to fix compilation with newer vala versions. + * Wed Jul 24 2019 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild @@ -77,4 +82,3 @@ appstream-util validate-relax --nonet \ * Sat Sep 01 2018 Fabio Valentini - 1.1.0-1 - Initial package for fedora. -