diff --git a/python38.changes b/python38.changes index 29e2a81..ab114a3 100644 --- a/python38.changes +++ b/python38.changes @@ -4,6 +4,8 @@ Wed Aug 31 08:47:57 UTC 2022 - Matej Cepl - Add bpo34990-2038-problem-compileall.patch making compileall.py compliant with year 2038 (bsc#1202666, gh#python/cpython#79171), backport of fix to Python 3.8. +- Add conditional for requiring rpm-build-python, so we should be + compilable on SLE/Leap. ------------------------------------------------------------------- Thu Jul 21 14:19:54 UTC 2022 - Matej Cepl diff --git a/python38.spec b/python38.spec index beca467..b88c2ec 100644 --- a/python38.spec +++ b/python38.spec @@ -175,8 +175,10 @@ BuildRequires: lzma-devel BuildRequires: netcfg BuildRequires: openssl-devel BuildRequires: pkgconfig +%if 0%{?suse_version} >= 1550 # The provider for python(abi) is in rpm-build-python BuildRequires: rpm-build-python +%endif BuildRequires: xz BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(expat)