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-25348
; Related: CVE-2023-4408
This commit is contained in:
Petr Menšík 2024-02-19 15:45:29 +01:00
parent b038cc79ce
commit 3c702f170d

View File

@ -558,6 +558,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"