diff --git a/chemtool-desktop.patch b/chemtool-desktop.patch index bdc047d..0deabcb 100644 --- a/chemtool-desktop.patch +++ b/chemtool-desktop.patch @@ -1,7 +1,7 @@ diff -up chemtool-1.6.14/chemtool.desktop.d chemtool-1.6.14/chemtool.desktop --- chemtool-1.6.14/chemtool.desktop.d 2007-11-10 22:12:35.000000000 +0100 -+++ chemtool-1.6.14/chemtool.desktop 2014-07-17 19:21:19.195259499 +0200 -@@ -4,8 +4,9 @@ Name=Chemtool ++++ chemtool-1.6.14/chemtool.desktop 2017-02-21 01:29:37.499144162 +0100 +@@ -4,9 +4,10 @@ Name=Chemtool Comment=The molecules drawing program (2D) Comment[cs]=Kreslení chemických vzorců Comment[de]=Moleküleditor @@ -12,3 +12,5 @@ diff -up chemtool-1.6.14/chemtool.desktop.d chemtool-1.6.14/chemtool.desktop Terminal=false Type=Application MimeType=application/x-chemtool +-Categories=Application;Chemistry ++Categories=Application;Chemistry; diff --git a/chemtool.spec b/chemtool.spec index ba96566..7503401 100644 --- a/chemtool.spec +++ b/chemtool.spec @@ -1,7 +1,7 @@ Summary: A program for 2D drawing organic molecules Name: chemtool Version: 1.6.14 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Source0: http://ruby.chemie.uni-freiburg.de/~martin/chemtool/%{name}-%{version}.tar.gz Patch0: %{name}-compile.patch @@ -58,7 +58,9 @@ desktop-file-install \ %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +%if 0%{fedora} < 25 %{_bindir}/update-desktop-database &> /dev/null ||: +%endif %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : @@ -68,7 +70,9 @@ if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi +%if 0%{fedora} < 25 %{_bindir}/update-desktop-database &> /dev/null ||: +%endif %files -f %{name}.lang %doc ChangeLog README TODO examples using_chemtool.html @@ -85,6 +89,10 @@ fi %{_mandir}/man1/cht.1* %changelog +* Tue Feb 21 2017 Dominik Mierzejewski - 1.6.14-8 +- add missing semicolon to the desktop file (#1423253) +- drop unnecessary update-desktop-database calls for F25+ + * Fri Feb 10 2017 Fedora Release Engineering - 1.6.14-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild