<div dir="ltr">Hello, <br><div class="gmail_extra"><br><div class="gmail_quote">On 12 June 2013 12:34, Christopher Meng <span dir="ltr">&lt;<a href="mailto:cickumqt@gmail.com" target="_blank">cickumqt@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Can we revise the current ScriptletSnippets page to suggest packagers<br>
using this macro instead of &quot;%{_datadir}/icons&quot; ?<br>
<br>
Shorter, right?<a href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank"></a></blockquote><div><br></div><div>yep, it would be, unfortunately you would require the java package utils for it:<br>
<br>$ grep -R _iconsdir /etc/rpm<br>/etc/rpm/macros.jpackage:%_iconsdir    %{_datadir}/icons<br>/etc/rpm/macros.jpackage:install -D -m 644 %1-32.png $RPM_BUILD_ROOT%{_iconsdir}/%1.png\<br>$ rpm -qf /etc/rpm/macros.jpackage<br>
jpackage-utils-1.7.5-26.fc19.noarch<br><br></div><div>And adding jpackage-utils to BuildRequires just to have the macro is not a good idea; that&#39;s why people don&#39;t use it.<br><br></div><div>Maybe we can move the macro somewhere else.<br>
</div><div> <br></div></div>Regards,<br></div><div class="gmail_extra">--Simone<br clear="all"><br>-- <br><div dir="ltr">You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).<br>
<br><a href="http://xkcd.com/229/" target="_blank">http://xkcd.com/229/</a><br></div>
</div></div>