From 4cb0c5a8d9f245f15d82e6873bf8bf36b1148b0f Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 10 Jan 2019 13:11:04 +0100 Subject: [PATCH] Add a test to verify that the schemas compile --- gsettings-desktop-schemas.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gsettings-desktop-schemas.spec b/gsettings-desktop-schemas.spec index 8ce4116..7c6ff4c 100644 --- a/gsettings-desktop-schemas.spec +++ b/gsettings-desktop-schemas.spec @@ -53,6 +53,11 @@ and header files for developing applications that use %{name}. %find_lang %{name} --with-gnome +%check +# Test that the schemas compile +glib-compile-schemas --dry-run --strict $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas + + %files -f %{name}.lang %doc AUTHORS MAINTAINERS NEWS README %license COPYING @@ -71,6 +76,7 @@ and header files for developing applications that use %{name}. %changelog * Thu Jan 10 2019 Kalev Lember - 3.31.0.1-2 - Switch back to autotools to fix missing org.gnome.desktop.enums.xml +- Add a test to verify that the schemas compile * Wed Jan 09 2019 Kalev Lember - 3.31.0.1-1 - Update to 3.31.0.1