Add a test for gstreamer1-plugin-openh264

This commit is contained in:
Kalev Lember 2016-05-26 15:29:00 +02:00
parent 89343a1962
commit fc4e75d491

View File

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