From b6137fdcfe831907274aaec7f68a419ac8ad88be Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 18 Aug 2016 15:41:05 +0200 Subject: [PATCH] Move desktop file validation to the check section --- gnome-clocks.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnome-clocks.spec b/gnome-clocks.spec index 333ccb9..eafbf62 100644 --- a/gnome-clocks.spec +++ b/gnome-clocks.spec @@ -32,7 +32,6 @@ make V=1 %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT -desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.clocks.desktop %find_lang gnome-clocks --with-gnome # Update the screenshot shown in the software center @@ -48,6 +47,9 @@ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome. https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/d.png \ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/e.png +%check +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop + %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -82,6 +84,7 @@ fi * Thu Aug 18 2016 Kalev Lember - 3.21.1-1 - Update to 3.21.1 - Update project URLs +- Move desktop file validation to the check section * Sun May 8 2016 Yanko Kaneti - 3.20.1-1 - Update to 3.20.1