From b5cd7733c9078abab5086f6f8b9aa772b644af6e Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mon, 10 Nov 2025 16:34:34 +0100 Subject: [PATCH] packaging: build `csdiff-static` on RHEL-8 and newer Related: https://github.com/csutils/csmock/pull/216 --- make-srpm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make-srpm.sh b/make-srpm.sh index 53cd9967..a3413d88 100755 --- a/make-srpm.sh +++ b/make-srpm.sh @@ -90,8 +90,8 @@ cat > "$SPEC" << EOF %bcond_without python2 %endif -# build csdiff-static on 64bit RHEL-10+ and Fedora -%if 0%{?__isa_bits} == 64 && (0%{?rhel} > 9 || 0%{?fedora}) +# build csdiff-static on 64bit RHEL-8+ and Fedora +%if 0%{?__isa_bits} == 64 && (0%{?rhel} > 7 || 0%{?fedora}) %bcond_without static %else %bcond_with static