rpm.eclass
Functions
- 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.
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)
-
Reporting Bugs
Please report bugs via https://bugs.gentoo.org/