mattdm pushed to rawtherapee (f22). "- move appdata validation next to desktop file validation"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Mar 24 20:10:54 UTC 2015


>From ea80bf86ca029ebbaa2d8b6522a37042b8d43a75 Mon Sep 17 00:00:00 2001
From: Matthew Miller <mattdm at mattdm.org>
Date: Tue, 24 Mar 2015 16:05:38 -0400
Subject: - move appdata validation next to desktop file validation


diff --git a/rawtherapee.spec b/rawtherapee.spec
index 9ef1a3a..dc30f75 100644
--- a/rawtherapee.spec
+++ b/rawtherapee.spec
@@ -55,6 +55,7 @@ rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT 
 
 desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
+appstream-util validate-relax --nonet %RPM_BUILD_ROOT/%{_datadir}/appdata/%{name}.appdata.xml
 
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/16x16/apps/
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/
@@ -62,7 +63,8 @@ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/32x32/apps/
 # These file are taken from the root already
 rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc 
 
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
+
+
 
 
 %post
@@ -97,6 +99,7 @@ fi || :
 %changelog
 * Tue Mar 24 2015 Matthew Miller <mattdm at fedoraproject.org> - 4.2-4
 - oh look! fix some invalid dates in changelog including the previous entry
+- move appdata validation next to desktop file validation
 
 * Tue Mar 24 2015 Matthew Miller <mattdm at fedoraproject.org> - 4.2-3
 - package appdata
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rawtherapee.git/commit/?h=f22&id=ea80bf86ca029ebbaa2d8b6522a37042b8d43a75

--
You received this message due to your preference settings at
https://apps.fedoraproject.org/notifications//fmnscmcommits.id.fedoraproject.org/email/29390


More information about the scm-commits mailing list