Move desktop file validation to the check section

This commit is contained in:
Kalev Lember 2016-08-18 15:41:05 +02:00
parent 24c50e56c0
commit b6137fdcfe

View File

@ -32,7 +32,6 @@ make V=1 %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.clocks.desktop
%find_lang gnome-clocks --with-gnome %find_lang gnome-clocks --with-gnome
# Update the screenshot shown in the software center # Update the screenshot shown in the software center
@ -48,6 +47,9 @@ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/org.gnome.
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/d.png \ https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/d.png \
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/e.png https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/org.gnome.clocks/e.png
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop
%post %post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@ -82,6 +84,7 @@ fi
* Thu Aug 18 2016 Kalev Lember <klember@redhat.com> - 3.21.1-1 * Thu Aug 18 2016 Kalev Lember <klember@redhat.com> - 3.21.1-1
- Update to 3.21.1 - Update to 3.21.1
- Update project URLs - Update project URLs
- Move desktop file validation to the check section
* Sun May 8 2016 Yanko Kaneti <klember@redhat.com> - 3.20.1-1 * Sun May 8 2016 Yanko Kaneti <klember@redhat.com> - 3.20.1-1
- Update to 3.20.1 - Update to 3.20.1