Due bug 377173 I tried to use rpmcpio instead as it looks to work for me. Looking at devmanual looks like it should be possible: http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/rpm-sources/index.html But, sadly, the code looks to have been removed some time ago from eclass, forcing me to use the (non-working) rpm2targz code: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/rpm.eclass?r1=1.16&r2=1.17 Then, either the code should be readded (probably better as looks like rpm2targz doesn't work for all the cases) or devmanual should be updated Thanks Reproducible: Always
Not sure if this bug needs to be solved in the devmanual or add back the missing code in the eclass. base@ comments?
i would delete the entire note. i don't know of cases rpm2targz doesn't handle and it's significantly lighter weight than rpm.
http://git.overlays.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=8d5f63de8639004354a21464e55af0aea1bab88a