[Fedora-packaging] About iconsdir macro

Simone Caronni negativo17 at gmail.com
Wed Jun 12 11:13:17 UTC 2013


On 12 June 2013 12:34, Christopher Meng <cickumqt at gmail.com> wrote:

> Can we revise the current ScriptletSnippets page to suggest packagers
> using this macro instead of "%{_datadir}/icons" ?
> Shorter, right?<https://admin.fedoraproject.org/mailman/listinfo/packaging>

yep, it would be, unfortunately you would require the java package utils
for it:

$ grep -R _iconsdir /etc/rpm
/etc/rpm/macros.jpackage:%_iconsdir    %{_datadir}/icons
/etc/rpm/macros.jpackage:install -D -m 644 %1-32.png
$ rpm -qf /etc/rpm/macros.jpackage

And adding jpackage-utils to BuildRequires just to have the macro is not a
good idea; that's why people don't use it.

Maybe we can move the macro somewhere else.


You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20130612/d87766b1/attachment.html>

More information about the packaging mailing list