https://bugzilla.redhat.com/show_bug.cgi?id=866901

--- Comment #11 from Pierre-YvesChibon <pin...@pingoured.fr> ---
I think we can still improve this:

install -d $RPM_BUILD_ROOT%{_datadir}/thumbnailers
cat config/gogui.thumbnailer | sed
"s;/usr/bin/gogui-thumbnailer;$PREFIX/bin/gogui-thumbnailer;" \
> $RPM_BUILD_ROOT%{_prefix}/share/thumbnailers/gogui.thumbnailer

- consistent use of %{_datadir}
- put the sed in %prep
- use install to install the file as you did for the others

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to