Removed %suse_update_desktop_file from the .spec file for RPM builds - does not work on OpenSuSE 42.x

This commit is contained in:
Matthias Koefferlein 2017-09-16 01:42:56 +02:00
parent 067bf458dc
commit 5e90cd5e86
1 changed files with 5 additions and 3 deletions

View File

@ -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)