From 5e90cd5e86ff61d33cc3b57baa3de28edf310360 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 16 Sep 2017 01:42:56 +0200 Subject: [PATCH] Removed %suse_update_desktop_file from the .spec file for RPM builds - does not work on OpenSuSE 42.x --- scripts/rpm-data/klayout.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/rpm-data/klayout.spec b/scripts/rpm-data/klayout.spec index 7d4417a8e..98fdc8a91 100644 --- a/scripts/rpm-data/klayout.spec +++ b/scripts/rpm-data/klayout.spec @@ -128,9 +128,11 @@ cp -pd %{_builddir}/bin.$TARGET/klayout %{_builddir}/bin.$TARGET/strm* %{buildro chmod 755 %{buildroot}%{_bindir}/* install -Dm644 %{_sourcedir}/etc/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop install -Dm644 %{_sourcedir}/etc/logo.png %{buildroot}%{_datadir}/pixmaps/%{name}.png -%if 0%{?suse_version}%{?sles_version} -%suse_update_desktop_file -n %{name} -%endif + +# TODO: remove this? This macro does not expand to anything in SuSE 42.x +#%if 0%{?suse_version}%{?sles_version} +#%suse_update_desktop_file -n %{name} +#%endif %files %defattr(-,root,root)