From 324cf168d276c9bd9a56605f6ed3d1ba313936c9 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Jan 10 2020 14:10:35 +0000 Subject: Add last two releases to appdata file This ensures that the version is shown correctly in gnome-software. https://github.com/darktable-org/darktable/pull/4079 --- diff --git a/0001-Add-last-two-releases-to-appdata-file.patch b/0001-Add-last-two-releases-to-appdata-file.patch new file mode 100644 index 0000000..3659b93 --- /dev/null +++ b/0001-Add-last-two-releases-to-appdata-file.patch @@ -0,0 +1,25 @@ +From 4188852d27cc0a292956efd8ed57b66aa01829c1 Mon Sep 17 00:00:00 2001 +From: Kalev Lember +Date: Fri, 10 Jan 2020 15:05:44 +0100 +Subject: [PATCH] Add last two releases to appdata file + +--- + data/darktable.appdata.xml.in | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/data/darktable.appdata.xml.in b/data/darktable.appdata.xml.in +index 10f7cb5f1..56e08656d 100644 +--- a/data/darktable.appdata.xml.in ++++ b/data/darktable.appdata.xml.in +@@ -49,6 +49,8 @@ + + + ++ ++ + + + +-- +2.24.1 + diff --git a/darktable.spec b/darktable.spec index 9227bf4..8ba1aea 100644 --- a/darktable.spec +++ b/darktable.spec @@ -1,6 +1,6 @@ Name: darktable Version: 3.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Utility to organize and develop raw images @@ -8,6 +8,9 @@ License: GPLv3+ URL: http://www.darktable.org/ Source0: https://github.com/darktable-org/darktable/releases/download/release-%(echo %{version} | sed 's/~//')/darktable-%(echo %{version} | sed 's/~/./').tar.xz +# https://github.com/darktable-org/darktable/pull/4079 +Patch0: 0001-Add-last-two-releases-to-appdata-file.patch + BuildRequires: cairo-devel BuildRequires: clang >= 3.9 %if 0%{?el7} @@ -113,7 +116,7 @@ Another option to solve the same problem might be the darktable-chart module from the darktable package. %prep -%setup -q -n 'darktable-%{version}' +%autosetup -p1 -n 'darktable-%{version}' # Remove bundled OpenCL headers. rm -rf src/external/CL @@ -211,6 +214,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/darktable %{_libexecdir}/darktable/tools/subr.sh %changelog +* Fri Jan 10 2020 Kalev Lember - 3.0.0-2 +- Add last two releases to appdata file + * Tue Dec 24 2019 Germano Massullo - 3.0.0-1 - 3.0.0 release