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