From 18563bc87b07fd7aca6f9d3af534fdc2c42bb8aa Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 10 Mar 2021 10:08:34 +0200 Subject: [PATCH] freeipa.spec: do not use jsl for linting on Fedora 34+ jsl package is orphaned in Fedora 34+ as it cannot be built. Related: https://pagure.io/freeipa/issue/8847 Signed-off-by: Alexander Bokovoy Reviewed-By: Alexander Bokovoy --- freeipa.spec.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 6968afc6f..f84d108a4 100755 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -49,7 +49,7 @@ # lint is not executed during rpmbuild # %%global with_lint 1 %if %{with lint} - %global linter_options --enable-pylint --with-jslint --enable-rpmlint + %global linter_options --enable-pylint --without-jslint --enable-rpmlint %else %global linter_options --disable-pylint --without-jslint --disable-rpmlint %endif @@ -325,7 +325,10 @@ BuildRequires: python3-m2r # %if %{with lint} BuildRequires: git +%if 0%{?fedora} < 34 +# jsl is orphaned in Fedora 34+ BuildRequires: jsl +%endif BuildRequires: nss-tools BuildRequires: rpmlint BuildRequires: softhsm