We want to switch release streams from the RPMv5 project to the RedHat
RPM project on GitHub as the RPMv5 project is dead now. Unfortunately,
the RH versions are in the 4.x range, and we're already at 5.x, so we
need to move this to something smaller for unstable to upgrade to.
Add a "0." prefix for existing users (stable & unstable) to "downgrade"
to so the new 4.x series will be an upgrade for everyone. It means a
useless rebuild, but this package is tiny, so shouldn't be a big deal.
Bug: https://bugs.gentoo.org/653906
inherit toolchain-funcs eutils
+# See #653906 for the need to reversion.
+MY_PV=${PV#0.}
+MY_P="${PN}-${MY_PV}"
+
DESCRIPTION="standalone debugedit taken from rpm"
HOMEPAGE="http://www.rpm5.org/"
-SRC_URI="https://dev.gentoo.org/~swegener/distfiles/${P}.tar.bz2
- https://dev.gentoo.org/~vapier/dist/${P}.tar.bz2"
+SRC_URI="https://dev.gentoo.org/~swegener/distfiles/${MY_P}.tar.bz2
+ https://dev.gentoo.org/~vapier/dist/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
dev-libs/beecrypt"
RDEPEND="${DEPEND}"
+S="${WORKDIR}/${MY_P}"
+
src_prepare() {
epatch "${FILESDIR}"/${PN}-5.3.5-DWARF-4.patch #400663
}