From f8725ad96242014146bd965cfe93d3db61a4b3ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Mon, 19 Feb 2024 15:45:29 +0100 Subject: [PATCH] Allow testing from more recent Fedora by skipping python rule More recent python3 module ply does not accept statements used in isc/policy.py, which generates parsetab.py. Allow to skip that target on local only fedora builds. Related: RHEL-25342 ; Related: CVE-2023-4408 --- bind.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bind.spec b/bind.spec index c23f107..76c2c48 100644 --- a/bind.spec +++ b/bind.spec @@ -572,6 +572,11 @@ export LIBDIR_SUFFIX --enable-fixed-rrset \ --enable-full-report \ ; + +%if 0%{?bind_skip_parsetab} + sed -e 's/^TARGETS =/& #/' -i bin/python/isc/Makefile +%endif + %if %{with DNSTAP} pushd lib SRCLIB="../../../lib"