Hello together, I'm currently packing the new release of Tryton, and run into some trouble, as the new version has moved to package_data: https://docs.python.org/2/distutils/setupscript.html#installing-package-data As a consequence, the desktop files macro does not find the icon In the spec I have: # menu-entry desktop-file-install --dir %{buildroot}%{_datadir}/applications %{name}.desktop %suse_update_desktop_file %{name} This gives an error during build: ERROR: Icon file not installed: /home/abuild/rpmbuild/BUILDROOT/tryton-3.8.1-0.x86_64//usr/share/applications/tryton.desktop (tryton-icon) Now the icons are under %{python_sidelib}: [ 20s] copying build/lib/tryton/data/pixmaps/tryton/tryton-icon.svg -> /home/abuild/rpmbuild/BUILDROOT/tryton-3.8.1-0.x86_64/usr/lib/python2.7/site- packages/tryton/data/pixmaps/tryton I have worked around this by copying it to /usr/share/pixmaps: mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name} cp %{buildroot}%{python_sitelib}/%{name}/data/pixmaps/%{name}/%{name}-icon.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}/%{name}-icon.svg But is that the right way? Can I instruct %suse_update_desktop_file to look for a specific location for the icons? At least in the documentation I could not find anything... Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org