mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
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 <abokovoy@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
6fe8620668
commit
a8fd65be65
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user