Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=885038 --- Comment #9 from Antonio Trande <trpost@xxxxxxxxxxxx> --- (In reply to comment #8) > /usr/local/share/games is not different, because /usr/local/share is just > the local (site-specific) datadir, which you get when installing software > below /usr/local due to defaults. > > $ rpm --eval %_datadir > /usr/share > $ rpm --eval %_prefix > /usr Yes, this is what I mean. :) Now, I don't know if another easiest way exists, I would change .spec file so: ... %install make install DESTDIR=%{buildroot} # Make the correct binaries and data file paths according to the packaging guidelines for games mkdir -p %{buildroot}%{_bindir} cp -p %{buildroot}%{_prefix}/games/%{name} %{buildroot}%{_bindir}/%{name} cp -p %{buildroot}%{_prefix}/games/%{name}-thumbnailer %{buildroot}%{_bindir}/%{name}-thumbnailer rm %{buildroot}%{_prefix}/games/%{name}* mkdir -p %{buildroot}%{_datadir}/%{name} cp -r -p %{buildroot}%{_datadir}/games/%{name}/* %{buildroot}%{_datadir}/%{name} rm -rf %{buildroot}%{_datadir}/games/%{name} #check desktop file desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %post /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : > $ rpm -qf /usr/share/thumbnailers > file /usr/share/thumbnailers is not owned by any package > > https://fedoraproject.org/wiki/Packaging:UnownedDirectories > %files %doc COPYING NEWS README %{_bindir}/%{name} %{_bindir}/%{name}-thumbnailer %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/16x16/apps/%{name}.png %{_datadir}/icons/hicolor/16x16/mimetypes/application-x-blokus-sgf.png %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/48x48/mimetypes/application-x-blokus-sgf.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/icons/hicolor/scalable/mimetypes/application-x-blokus-sgf.svg %{_datadir}/mime/packages/%{name}-mime.xml %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/%{name}.thumbnailer %dir %{_datadir}/%{name} %{_datadir}/%{name}/books/ %{_datadir}/%{name}/translations/ %lang(de) %{_datadir}/%{name}/manual/de/ %lang(en) %{_datadir}/%{name}/manual/en/ %lang(en_CA) %{_datadir}/%{name}/manual/en_CA/ %lang(en_GB) %{_datadir}/%{name}/manual/en_GB/ %{_mandir}/man6/%{name}-thumbnailer.6.* %{_mandir}/man6/%{name}.6.* $ rpm -qf /usr/share/thumbnailers thunar-vfs-1.2.0-7.fc18.x86_64 pentobi-5.0-2.fc18.x86_64 -- You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ObFf9fJ80z&a=cc_unsubscribe _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review