[gnome-tweak-tool/f20] Move desktop-file-validation in %check

Mohamed ElMorabity melmorabity at fedoraproject.org
Wed Sep 4 16:00:02 UTC 2013


commit e9951f353aafc45bd28ef40f6a972646fbf76623
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Wed Sep 4 17:58:37 2013 +0200

    Move desktop-file-validation in %check

 gnome-tweak-tool.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/gnome-tweak-tool.spec b/gnome-tweak-tool.spec
index d48be16..f90402c 100644
--- a/gnome-tweak-tool.spec
+++ b/gnome-tweak-tool.spec
@@ -51,12 +51,14 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
+
+
+%check
 # Leave the desktop file validation, but don't return an error value ("Phanteon"
-# value not supported yet in "OnlyShowIn" key by validator)
+# value not supported yet by validator in "OnlyShowIn" key)
 desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop || true
 
-%find_lang %{name}
-
 
 %post
 /bin/touch --no-create %{_datadir}/icons/hicolor/ &>/dev/null || :


More information about the scm-commits mailing list