From d6b2b108d1b0aa0539103894d9ec5db631fc4254 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 5 Mar 2018 10:58:52 +0100 Subject: [PATCH] Move desktop file validation to check section --- gcr.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gcr.spec b/gcr.spec index 2aaff67..96cde45 100644 --- a/gcr.spec +++ b/gcr.spec @@ -62,13 +62,17 @@ make %{?_smp_mflags} make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/libmock-test-module.* -desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcr-viewer.desktop %find_lang %{name} chrpath --delete $RPM_BUILD_ROOT%{_libdir}/lib*.so.* chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gcr-viewer chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gcr-prompter + +%check +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gcr-viewer.desktop + + %files -f %{name}.lang %doc README NEWS %license COPYING @@ -117,6 +121,7 @@ chrpath --delete $RPM_BUILD_ROOT%{_libexecdir}/gcr-prompter - Use valgrind_arches macro instead of hardcoding valgrind arch list - Drop group tags - Drop ldconfig scriptlets +- Move desktop file validation to check section * Wed Feb 07 2018 Fedora Release Engineering - 3.20.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild