Tested by removing SRC_URI and S overrides in evince-44_rc.ebuild and
glib-networking-2.76_beta.ebuild and confirming that we fetch the same
distfile and build from the same source directory.

Also confirmed that (alpha|beta|rc).<num> works by making a
glib-networking-2.76_beta1.ebuild and seeing that we attempt to fetch
glib-networking-2.76.beta.1.tar.xz.

Signed-off-by: Matt Turner <matts...@gentoo.org>
---
 eclass/gnome.org.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/gnome.org.eclass b/eclass/gnome.org.eclass
index d5f9102e5818..760dc2ba0b66 100644
--- a/eclass/gnome.org.eclass
+++ b/eclass/gnome.org.eclass
@@ -64,8 +64,8 @@ fi
 # See https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235
 : "${GNOME_ORG_PV:=$(ver_rs 1- .)}"
 
-SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_RELEASE}/${GNOME_ORG_MODULE}-${PV}.tar.${GNOME_TARBALL_SUFFIX}"
+SRC_URI="mirror://gnome/sources/${GNOME_ORG_MODULE}/${GNOME_ORG_RELEASE}/${GNOME_ORG_MODULE}-${GNOME_ORG_PV}.tar.${GNOME_TARBALL_SUFFIX}"
 
-S="${WORKDIR}/${GNOME_ORG_MODULE}-${PV}"
+S="${WORKDIR}/${GNOME_ORG_MODULE}-${GNOME_ORG_PV}"
 
 fi
-- 
2.39.2


Reply via email to