From 348d9d24682199866304ac07712e8e9154db8aa4 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Fri, 9 Jun 2023 10:52:07 -0400 Subject: [PATCH] selftests/pre_release/tests/check-copr-rpm-version.sh: fix distro version Signed-off-by: Cleber Rosa --- selftests/pre_release/tests/check-copr-rpm-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selftests/pre_release/tests/check-copr-rpm-version.sh b/selftests/pre_release/tests/check-copr-rpm-version.sh index 44c643939e..06b0226d37 100755 --- a/selftests/pre_release/tests/check-copr-rpm-version.sh +++ b/selftests/pre_release/tests/check-copr-rpm-version.sh @@ -15,7 +15,7 @@ VERSION=$(python setup.py --version 2>/dev/null) COMMIT_DATE=$(git log --pretty='format:%cd' --date='format:%Y%m%d' -n 1 $ORIGIN/master) SHORT_COMMIT=$(git rev-parse --short=9 $ORIGIN/master) RPM_RELEASE_NUMBER=$(grep -E '^Release:\s([0-9]+)' python-avocado.spec | sed -E 's/Release:\s([0-9]+).*/\1/') -DISTRO_VERSION=36 +DISTRO_VERSION=38 DEFAULT_RPM_NVR="python3-avocado-${VERSION}-${RPM_RELEASE_NUMBER}.${COMMIT_DATE}git${SHORT_COMMIT}.fc${DISTRO_VERSION}" RPM_NVR="${1:-$DEFAULT_RPM_NVR}"