diff --git a/appstream-data.spec b/appstream-data.spec
index 03e866f..7030583 100644
--- a/appstream-data.spec
+++ b/appstream-data.spec
@@ -25,6 +25,12 @@ DESTDIR=%{buildroot} appstream-util install-origin fedora %{SOURCE1} %{SOURCE2}
DESTDIR=%{buildroot} appstream-util install \
%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
+%check
+if ! gunzip -c %{buildroot}%{_datadir}/app-info/xmls/fedora.xml.gz | grep -q 'gstreamer1-plugin-openh264' ; then
+ echo "missing gstreamer1-plugin-openh264"
+ exit 1
+fi
+
%files
%attr(0644,root,root) %{_datadir}/app-info/xmls/*
%{_datadir}/app-info/icons/fedora/*/*.png
@@ -38,6 +44,7 @@ DESTDIR=%{buildroot} appstream-util install \
%changelog
* Thu May 26 2016 Kalev Lember 25-2
- New metadata version
+- Add a test for gstreamer1-plugin-openh264
* Wed Apr 27 2016 Richard Hughes 25-1
- New metadata version