Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462678 - Request FEATURES=rpm (just like buildpkg)
Summary: Request FEATURES=rpm (just like buildpkg)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 472632
  Show dependency tree
 
Reported: 2013-03-22 11:38 UTC by Alan Hourihane
Modified: 2013-08-25 19:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2013-03-22 11:38:26 UTC
It would be nice if an RPM could be built when building a package, just as "buildpkg" can be set as a FEATURE to build a binary package.

Thanks !
Comment 1 Jeroen Roovers gentoo-dev 2013-03-22 17:14:11 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.
Comment 2 Alan Hourihane 2013-03-22 17:23:26 UTC
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.
Comment 3 Zac Medico gentoo-dev 2013-08-25 19:38:27 UTC
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