From 545fd2466ba315fa3fdb531e4b3289e17db9d0cf Mon Sep 17 00:00:00 2001 From: Timm Bäder Date: May 06 2021 21:18:16 +0000 Subject: spec: Unconditionally use python3 The spec file was already unconditionally depend on a few python3 packages. Make that official by removing the %python3 bcond. --- diff --git a/clang.spec b/clang.spec index d7c7454..e8128c3 100644 --- a/clang.spec +++ b/clang.spec @@ -53,12 +53,6 @@ %global pkg_libdir %{_libdir} %endif -%if 0%{?fedora} || 0%{?rhel} > 7 -%bcond_without python3 -%else -%bcond_with python3 -%endif - %global build_install_prefix %{buildroot}%{install_prefix} %ifarch ppc64le @@ -120,11 +114,8 @@ BuildRequires: ncurses-devel # should BuildRequires: emacs if it packages emacs integration files. BuildRequires: emacs -# These build dependencies are required for the test suite. -%if %with python3 # The testsuite uses /usr/bin/lit which is part of the python3-lit package. BuildRequires: python3-lit -%endif BuildRequires: python3-sphinx BuildRequires: libatomic