On 04/09/2014 12:57 PM, James Antill wrote: > On Wed, 2014-04-09 at 12:37 +0300, Ville Skyttä wrote: >> On Wed, Apr 9, 2014 at 10:33 AM, Marius A <marius1439@xxxxxxxxx> wrote: >>> 1. remove /usr/share/docs >> >> Try this in /etc/rpm/macros.whatever: >> %_excludedocs 1 > > For recent yum it's significantly better to do: > > yum fs filter nodocs > >> Try this in /etc/rpm/macros.whatever: >> %_install_langs en > > Dito. to get rid of extra languages by: > > yum fs filter langs en > > ...then you can yum fs refilter / yum fs refilter-cleanup. > >> 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. > > This can still be true though. > Of course, this would all be much more obvious if the `yum help` output didn't say "fs Creates filesystem snapshots, or lists/deletes current snapshots," exactly what it also says for fssnapshot. Bug filed. [1] [1] https://bugzilla.redhat.com/show_bug.cgi?id=1086461 -- J. Randall Owens | http://www.ghiapet.net/ -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct