Fridrich Strba 2020-09-07 14:32:14 +00:00 committed by Git OBS Bridge
parent c7deb35513
commit 44ea24f002

View File

@ -19,7 +19,8 @@
%{!?_rpmmacrodir:%global _rpmmacrodir %{_rpmconfigdir}/macros.d}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "extras"
%bcond_without python%else
%bcond_without python
%else
%bcond_with python
%endif
%if %{with python}
@ -47,7 +48,7 @@ BuildRequires: fdupes
BuildRequires: perl
BuildRequires: rpm
BuildRequires: xmlto
%if "%{flavor}" == "extras"
%if %{with python}
BuildRequires: javapackages-filesystem
%else
Requires: javapackages-filesystem = %{version}-%{release}