From a2b1f34add0babc70b85306da43720015ee26137db6ddb6cb1fb8c4f45889482 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 18 Feb 2022 10:52:31 +0000 Subject: [PATCH 1/2] - Older SLE versions should use old OpenSSL. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=316 --- python-base.changes | 5 +++++ python-doc.changes | 5 +++++ python.changes | 5 +++++ python.spec | 4 +++- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/python-base.changes b/python-base.changes index 144c344..7122383 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 18 10:51:04 UTC 2022 - Matej Cepl + +- Older SLE versions should use old OpenSSL. + ------------------------------------------------------------------- Wed Feb 9 16:49:52 UTC 2022 - Matej Cepl diff --git a/python-doc.changes b/python-doc.changes index 144c344..7122383 100644 --- a/python-doc.changes +++ b/python-doc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 18 10:51:04 UTC 2022 - Matej Cepl + +- Older SLE versions should use old OpenSSL. + ------------------------------------------------------------------- Wed Feb 9 16:49:52 UTC 2022 - Matej Cepl diff --git a/python.changes b/python.changes index 144c344..7122383 100644 --- a/python.changes +++ b/python.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 18 10:51:04 UTC 2022 - Matej Cepl + +- Older SLE versions should use old OpenSSL. + ------------------------------------------------------------------- Wed Feb 9 16:49:52 UTC 2022 - Matej Cepl diff --git a/python.spec b/python.spec index d6fe97a..7a0d03b 100644 --- a/python.spec +++ b/python.spec @@ -137,8 +137,10 @@ BuildRequires: gmp-devel BuildRequires: libbz2-devel %if %{suse_version} >= 1500 BuildRequires: libnsl-devel -%endif BuildRequires: libopenssl-1_1-devel +%else +BuildRequires: libopenssl-devel +%endif BuildRequires: ncurses-devel BuildRequires: readline-devel BuildRequires: sqlite-devel From 9442b9b6ab8e48bf30b7d99212ad3cda2c3d3e76ffe85c3b7ea5881da6c2bcbe Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 18 Feb 2022 11:02:04 +0000 Subject: [PATCH 2/2] - BuildRequire rpm-build-python: The provider to inject python(abi) has been moved there. rpm-build pulls rpm-build-python automatically in when building anything against python3-base, but this implies that the initial build of python3-base does not trigger the automatic installation. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=317 --- python-base.changes | 9 +++++++++ python-base.spec | 2 ++ python-doc.changes | 9 +++++++++ python.changes | 9 +++++++++ 4 files changed, 29 insertions(+) diff --git a/python-base.changes b/python-base.changes index 7122383..25ebc90 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl + +- BuildRequire rpm-build-python: The provider to inject python(abi) + has been moved there. rpm-build pulls rpm-build-python + automatically in when building anything against python3-base, but + this implies that the initial build of python3-base does not + trigger the automatic installation. + ------------------------------------------------------------------- Fri Feb 18 10:51:04 UTC 2022 - Matej Cepl diff --git a/python-base.spec b/python-base.spec index 66c1a33..0655182 100644 --- a/python-base.spec +++ b/python-base.spec @@ -138,8 +138,10 @@ BuildRequires: libbz2-devel BuildRequires: libnsl-devel %endif BuildRequires: pkg-config +%if 0%{?suse_version} >= 1550 # The provider for python(abi) is in rpm-build-python BuildRequires: rpm-build-python +%endif BuildRequires: xz BuildRequires: zlib-devel #!BuildIgnore: python diff --git a/python-doc.changes b/python-doc.changes index 7122383..25ebc90 100644 --- a/python-doc.changes +++ b/python-doc.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl + +- BuildRequire rpm-build-python: The provider to inject python(abi) + has been moved there. rpm-build pulls rpm-build-python + automatically in when building anything against python3-base, but + this implies that the initial build of python3-base does not + trigger the automatic installation. + ------------------------------------------------------------------- Fri Feb 18 10:51:04 UTC 2022 - Matej Cepl diff --git a/python.changes b/python.changes index 7122383..25ebc90 100644 --- a/python.changes +++ b/python.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 18 11:00:25 UTC 2022 - Matej Cepl + +- BuildRequire rpm-build-python: The provider to inject python(abi) + has been moved there. rpm-build pulls rpm-build-python + automatically in when building anything against python3-base, but + this implies that the initial build of python3-base does not + trigger the automatic installation. + ------------------------------------------------------------------- Fri Feb 18 10:51:04 UTC 2022 - Matej Cepl