rpmdev-rmdevelrpms - Man Page
manual page for rpmdev-rmdevelrpms version 1.15
rpmdev-rmdevelrpms is a script for finding and optionally removing "development" packages, for example for cleanup purposes before starting to build a new package.
By default, the following packages are treated as development ones and are thus candidates for removal: any package whose name matches "-devel\b", "-debuginfo\b", "-sdk\b", or "-static\b" (case insensitively) except gcc requirements; any package whose name starts with "perl-(Devel|ExtUtils|Test)-"; any package whose name starts with "compat-gcc"; packages in the internal list of known development oriented packages (see def_devpkgs in the source code); packages determined to be development ones based on some basic heuristic checks on the package's contents.
The default set of packages above is not intended to not reduce a system into a minimal clean build root, but to keep it usable for general purposes while getting rid of a reasonably large set of development packages. The package set operated on can be configured to meet various scenarios.
To include additional packages in the list of ones treated as development packages, use the "devpkgs" option in the configuration file. To exclude packages from the list use "nondevpkgs" in it. Exclusion overrides inclusion.
The system wide configuration file is /etc/rpmdevtools/rmdevelrpms.conf, and per user settings (which override system ones) can be specified in ~/.config/rpmdevtools/rmdevelrpms.conf or ~/.rmdevelrpmsrc (deprecated). These files are written in Python.
- -h, --help
show this help message and exit
- -l, --list-only
Output condensed list of packages, do not remove.
- --qf=QF, --queryformat=QF
Query format to use for output.
- -y, --yes
Root only: remove without prompting; ignored with -l.
- -v, --version
Print program version and exit.
Report bugs to <http://bugzilla.redhat.com/>.
Copyright © 2004-2014 Ville Skyttä <email@example.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.