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
This commit is contained in:
Petr Menšík 2024-02-19 15:45:29 +01:00
parent 5dc319b2a8
commit f8725ad962

View File

@ -572,6 +572,11 @@ export LIBDIR_SUFFIX
--enable-fixed-rrset \ --enable-fixed-rrset \
--enable-full-report \ --enable-full-report \
; ;
%if 0%{?bind_skip_parsetab}
sed -e 's/^TARGETS =/& #/' -i bin/python/isc/Makefile
%endif
%if %{with DNSTAP} %if %{with DNSTAP}
pushd lib pushd lib
SRCLIB="../../../lib" SRCLIB="../../../lib"