diff --git a/appstream-data.spec b/appstream-data.spec index dced74f..bceb8a3 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 24-6 - New metadata version +- Add a test for gstreamer1-plugin-openh264 * Wed Apr 27 2016 Richard Hughes 24-5 - New metadata version