Hello,
On 12 June 2013 12:34, Christopher Meng <cickumqt@xxxxxxxxx> wrote:
Regards,Can we revise the current ScriptletSnippets page to suggest packagers
using this macro instead of "%{_datadir}/icons" ?
Shorter, right?
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_BUILD_ROOT%{_iconsdir}/%1.png\
$ rpm -qf /etc/rpm/macros.jpackage
jpackage-utils-1.7.5-26.fc19.noarch
$ grep -R _iconsdir /etc/rpm
/etc/rpm/macros.jpackage:%_iconsdir %{_datadir}/icons
/etc/rpm/macros.jpackage:install -D -m 644 %1-32.png $RPM_BUILD_ROOT%{_iconsdir}/%1.png\
$ rpm -qf /etc/rpm/macros.jpackage
jpackage-utils-1.7.5-26.fc19.noarch
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.
--Simone
--
--
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).
http://xkcd.com/229/
http://xkcd.com/229/
-- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging