On Wed, Apr 9, 2014 at 10:33 AM, Marius A <marius1...@gmail.com> wrote:
> 1. remove /usr/share/docs

Try this in /etc/rpm/macros.whatever:
    %_excludedocs 1

But that'll exclude _all_ files marked as docs in packages such as man
pages, it's not limited to /usr/share/doc. You might also/instead want
to try this:
    %_netsharedpath %{_datadir}/doc

> 2. remove /usr/share/locale/* (all except en and en_US)

Try this in /etc/rpm/macros.whatever:
    %_install_langs en

It's possible that these settings break some things such as scriptlets
that do not take missing files into account, but at least they're
cleaner attempts than simply deleting installed files/dirs.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to