Using --excludedocs and --excludepath with yum
bernie at codewiz.org
Mon Jun 4 07:00:34 UTC 2007
Andy Shevchenko wrote:
> Hi Bernardo Innocenti!
> On Sun, Jun 03, 2007 at 11:37:45PM -0400, Bernardo Innocenti wrote next:
>> Is it possible?
> I don't know about yum, but you can push
> %_excludedocs 1
> to the rpmmacros.
Good idea! Then I could also abuse %_netsharedpath to prune
/usr/share/doc and /usr/share/locale.
> Also, this macro provides too many warnings at install (due to crash
> info-install in %post). As I remember correctly someone discussed this issue
> here (or in formed fedora-extras-list) several month ago.
That's why I hate packages with scripts. The more we make
packages active and smart, the more we end up with a
Windows-like installation hell.
// Bernardo Innocenti
More information about the fedora-devel-list