From: Jan Stancek <jstan...@redhat.com>

redhat: move dist-relase-check behind new variable

As it breaks ARK workflow, which adds commits on top of
release commit on ark-latest.

Fixes: 81132acc1e2e ("redhat: check release commit is present for 
dist-{release-tag,git}")
Signed-off-by: Jan Stancek <jstan...@redhat.com>

diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -810,10 +810,12 @@ dist-get-tag: ##misc Returns the latest release tag.
        $(info $(DISTRELEASETAG))
 
 dist-check-release:
+ifeq ($(CHECK_FOR_RELEASE_COMMIT),1)
        @if ! $(GIT) log -1 --format=%s | grep -q "\[redhat\] 
$(DISTRELEASETAG)"; then \
                echo -e "Error: Check git tree, HEAD is expected to contain 
release commit."; \
                exit 1; \
        fi
+endif
 
 dist-release-tag: dist-check-release
        @$(GIT) tag -a -m "$(DISTRELEASETAG)" $(DISTRELEASETAG)
diff --git a/redhat/Makefile.variables b/redhat/Makefile.variables
index blahblah..blahblah 100644
--- a/redhat/Makefile.variables
+++ b/redhat/Makefile.variables
@@ -38,6 +38,11 @@ BUILD_TARGET ?=
 # when you expect every build to use a different base kernel version.
 BUMP_RELEASE:=yes
 
+# For dist-release-tag and dist-git check that tree is in expected
+# state and has release commit as HEAD commit. Meant to be used
+# by downstream distros.
+CHECK_FOR_RELEASE_COMMIT ?= 0
+
 # This is the dist release suffix used in the package release, eg. .fc34,
 # .el8 etc. In a different branch this may be set to a fixed value.
 DIST ?=
diff --git a/redhat/self-test/data/centos-2585cf9dfaad.el7 
b/redhat/self-test/data/centos-2585cf9dfaad.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-2585cf9dfaad.el7
+++ b/redhat/self-test/data/centos-2585cf9dfaad.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/centos-2585cf9dfaad.fc25 
b/redhat/self-test/data/centos-2585cf9dfaad.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-2585cf9dfaad.fc25
+++ b/redhat/self-test/data/centos-2585cf9dfaad.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/centos-78e36f3b0dae.el7 
b/redhat/self-test/data/centos-78e36f3b0dae.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-78e36f3b0dae.el7
+++ b/redhat/self-test/data/centos-78e36f3b0dae.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/centos-78e36f3b0dae.fc25 
b/redhat/self-test/data/centos-78e36f3b0dae.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-78e36f3b0dae.fc25
+++ b/redhat/self-test/data/centos-78e36f3b0dae.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/centos-df0cc57e057f.el7 
b/redhat/self-test/data/centos-df0cc57e057f.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-df0cc57e057f.el7
+++ b/redhat/self-test/data/centos-df0cc57e057f.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/centos-df0cc57e057f.fc25 
b/redhat/self-test/data/centos-df0cc57e057f.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-df0cc57e057f.fc25
+++ b/redhat/self-test/data/centos-df0cc57e057f.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/centos-fce15c45d3fb.el7 
b/redhat/self-test/data/centos-fce15c45d3fb.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-fce15c45d3fb.el7
+++ b/redhat/self-test/data/centos-fce15c45d3fb.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/centos-fce15c45d3fb.fc25 
b/redhat/self-test/data/centos-fce15c45d3fb.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/centos-fce15c45d3fb.fc25
+++ b/redhat/self-test/data/centos-fce15c45d3fb.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=c9s-candidate
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/fedora-2585cf9dfaad.el7 
b/redhat/self-test/data/fedora-2585cf9dfaad.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-2585cf9dfaad.el7
+++ b/redhat/self-test/data/fedora-2585cf9dfaad.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/fedora-2585cf9dfaad.fc25 
b/redhat/self-test/data/fedora-2585cf9dfaad.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-2585cf9dfaad.fc25
+++ b/redhat/self-test/data/fedora-2585cf9dfaad.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/fedora-78e36f3b0dae.el7 
b/redhat/self-test/data/fedora-78e36f3b0dae.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-78e36f3b0dae.el7
+++ b/redhat/self-test/data/fedora-78e36f3b0dae.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/fedora-78e36f3b0dae.fc25 
b/redhat/self-test/data/fedora-78e36f3b0dae.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-78e36f3b0dae.fc25
+++ b/redhat/self-test/data/fedora-78e36f3b0dae.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/fedora-df0cc57e057f.el7 
b/redhat/self-test/data/fedora-df0cc57e057f.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-df0cc57e057f.el7
+++ b/redhat/self-test/data/fedora-df0cc57e057f.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/fedora-df0cc57e057f.fc25 
b/redhat/self-test/data/fedora-df0cc57e057f.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-df0cc57e057f.fc25
+++ b/redhat/self-test/data/fedora-df0cc57e057f.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/fedora-fce15c45d3fb.el7 
b/redhat/self-test/data/fedora-fce15c45d3fb.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-fce15c45d3fb.el7
+++ b/redhat/self-test/data/fedora-fce15c45d3fb.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/fedora-fce15c45d3fb.fc25 
b/redhat/self-test/data/fedora-fce15c45d3fb.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/fedora-fce15c45d3fb.fc25
+++ b/redhat/self-test/data/fedora-fce15c45d3fb.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=rawhide
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"
diff --git a/redhat/self-test/data/rhel-2585cf9dfaad.el7 
b/redhat/self-test/data/rhel-2585cf9dfaad.el7
index blahblah..blahblah 100644
--- a/redhat/self-test/data/rhel-2585cf9dfaad.el7
+++ b/redhat/self-test/data/rhel-2585cf9dfaad.el7
@@ -12,6 +12,7 @@ BUILD_TARGET=rhel-9-newest-test-pesign
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .el7"
diff --git a/redhat/self-test/data/rhel-2585cf9dfaad.fc25 
b/redhat/self-test/data/rhel-2585cf9dfaad.fc25
index blahblah..blahblah 100644
--- a/redhat/self-test/data/rhel-2585cf9dfaad.fc25
+++ b/redhat/self-test/data/rhel-2585cf9dfaad.fc25
@@ -12,6 +12,7 @@ BUILD_TARGET=rhel-9-newest-test-pesign
 BUILD_TARGET_USERDEF=
 BUMP_RELEASE=yes
 CHANGELOG_EXT=changelog-9.99
+CHECK_FOR_RELEASE_COMMIT=0
 CROSS_DISABLED_SUBPACKAGES=--without bpftool --without perf --without tools 
--without libperf
 CROSS_PACKAGE_LIST=cross-binutils-common cross-gcc-common diffstat 
glibc-static ncurses-devel numactl-devel rng-tools binutils-aarch64-linux-gnu 
gcc-aarch64-linux-gnu binutils-ppc64le-linux-gnu gcc-ppc64le-linux-gnu 
binutils-s390x-linux-gnu gcc-s390x-linux-gnu binutils-riscv64-linux-gnu 
gcc-riscv64-linux-gnu
 CROSS_RPMFLAGS=rpmbuild --define "_sourcedir ../redhat/rpm/SOURCES" --define 
"_builddir ../redhat/rpm/BUILD" --define "_srcrpmdir ../redhat/rpm/SRPMS" 
--define "_rpmdir ../redhat/rpm/RPMS" --define "_specdir ../redhat/rpm/SPECS" 
--define "dist .fc25"

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3740

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to