mirror of https://github.com/KLayout/klayout.git
Removed %suse_update_desktop_file from the .spec file for RPM builds - does not work on OpenSuSE 42.x
This commit is contained in:
parent
067bf458dc
commit
5e90cd5e86
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue