Move desktop file validation to %check section

This commit is contained in:
Kalev Lember 2015-08-19 13:03:43 +02:00
parent a5548a25bf
commit 7cc6aa10f9

View File

@ -135,13 +135,14 @@ rm -rf %{buildroot}/%{_libdir}/mozilla/plugins/*.la
mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions mkdir -p %{buildroot}%{_datadir}/gnome-shell/extensions
mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers
%find_lang %{name}
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell-wayland.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell-wayland.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell-extension-prefs.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-shell-extension-prefs.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/evolution-calendar.desktop
%find_lang %{name}
%preun %preun
glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &> /dev/null ||: glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &> /dev/null ||:
@ -188,6 +189,7 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas &> /dev/null
%changelog %changelog
* Wed Aug 19 2015 Kalev Lember <klember@redhat.com> - 3.17.4-2 * Wed Aug 19 2015 Kalev Lember <klember@redhat.com> - 3.17.4-2
- Create empty directories for extensions and search providers - Create empty directories for extensions and search providers
- Move desktop file validation to %%check section
* Thu Jul 23 2015 Florian Müllner <fmuellner@redhat.com> - 3.17.4-1 * Thu Jul 23 2015 Florian Müllner <fmuellner@redhat.com> - 3.17.4-1
- Update to 3.17.4 - Update to 3.17.4