trimming down Fedora installed size

Alexey I. Froloff raorn at raorn.name
Wed Apr 9 14:59:28 UTC 2014


On Wed, Apr 09, 2014 at 02:49:56PM +0000, "J├│hann B. Gu├░mundsson" wrote:
> >So, I'd question the usefulness of not installing man-page
> It's more about getting to the point of being able to remove them and
> or have the option not to install them.
Since man pages are marked as %doc, you can use %_excludedocs
macro:

$ grep -B2 excludedoc /usr/lib/rpm/macros 
#	Boolean (i.e. 1 == "yes", 0 == "no") that controls whether files
#	marked as %doc should be installed.
#%_excludedocs

And also:

$ grep -B3 install_langs /usr/lib/rpm/macros 
#	A colon separated list of desired locales to be installed;
#	"all" means install all locale specific files.
#	
%_install_langs	all

-- 
Regards,    --
Sir Raorn.   --- https://plus.google.com/+AlexeyFroloff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20140409/0909793d/attachment.sig>


More information about the devel mailing list