Marcus Meissner 2021-02-04 12:39:59 +00:00 committed by Git OBS Bridge
parent c00114657f
commit 4bfbfb8c3e

View File

@ -28,11 +28,18 @@ BuildRequires: python3-xml
BuildRequires: libxslt BuildRequires: libxslt
BuildRequires: libxml2 BuildRequires: libxml2
BuildRequires: openscap-utils BuildRequires: openscap-utils
%if 0%{?is_opensuse} || 0%{?sle_version} > 1500
BuildRequires: python3-PyYAML BuildRequires: python3-PyYAML
BuildRequires: python3-Jinja2 BuildRequires: python3-Jinja2
%else
BuildRequires: python-PyYAML
BuildRequires: python-Jinja2
%endif
BuildRequires: expat BuildRequires: expat
# might be optional: # not on SLES currently
#BuildRequires: ansible %if 0%{?is_opensuse}
BuildRequires: ansible
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch