RPM.ECLASS
Section: eclass-manpages (5)Updated: May 2026
Index Return to Main Contents
NAME
rpm.eclass - convenience class for extracting RPMsSUPPORTED EAPIS
7 8FUNCTIONS
- rpm_unpack <rpms>
- Unpack the contents of the specified rpms like the unpack() function.
- srcrpm_unpack <rpms>
- Unpack the contents of the specified rpms like the unpack() function as well as any archives that it might contain. Note that the secondary archive unpack isn't perfect in that it simply unpacks all archives in the working directory (with the assumption that there weren't any to start with).
- rpm_src_unpack
- Automatically unpack all archives in ${A} including rpms. If one of the archives in a source rpm, then the sub archives will be unpacked as well.
ECLASS VARIABLES
- RPM_COMPRESS_TYPE (SET BEFORE INHERIT)
-
Comma-separated list of app-arch/rpm compression formats. If set,
app-arch/rpm will be allowed as a BDEPEND to unpack distfiles. Must be set
for EAPI 9. Supported types:
- none (rpm is supported but distfile is uncompressed or builtin zlib)
- bzip2 (.bz2)
- lzma (deprecated pre-xz iteration of the lzma SDK. rpm2targz doesn't
support it)- xz (.xz)
- zstd (.zst)
- "" (empty -- the ebuild hasn't been updated to resolve deprecations)
MAINTAINERS
base-system@gentoo.orgREPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
rpm.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/rpm.eclass
Index
This document was created by man2html, using the manual pages.
Time: 03:27:00 GMT, May 02, 2026