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