Summary: | Request FEATURES=rpm (just like buildpkg) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Alan Hourihane <alanh> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 472632 |
Description
Alan Hourihane
2013-03-22 11:38:26 UTC
RPMDIR = [path] Defines the location where created RPM packages will be stored. Defaults to ${PORTDIR}/rpm. Somehow I can't get that to work, but it should suffice if it did work. I know "ebuild xxxx.ebuild rpm" works and makes the RPM package. But that means building the package again. I'd like to just add ... FEATURES="buildpkg rpm" and then do ... emerge xxxxx and it auto-generates the RPM (from the rpm FEATURE), and also the TAR.GZ (from the buildpkg FEATURE). I already use the latter. Since 2.2.0 we have a PORTAGE_BINPKG_FORMAT variable that you can set in make.conf, and also emerge --pkg-format http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=73a972e0cac5d7e5f59a58c11e998793fe2b1a2d |