From 41195dffc1be082167a3bcbf9bdff725a55504051808bf06dcab10e63b459954 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 29 Nov 2021 00:33:07 +0000 Subject: [PATCH] - Don't collect automatic Requires from python-base libraries in %%_libdir. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python39?expand=0&rev=89 --- python39.changes | 6 ++++++ python39.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python39.changes b/python39.changes index c141a30..0e90632 100644 --- a/python39.changes +++ b/python39.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 29 00:17:07 UTC 2021 - Matej Cepl + +- Don't collect automatic Requires from python-base libraries in + %%_libdir. + ------------------------------------------------------------------- Wed Nov 17 09:49:22 UTC 2021 - Steve Kowalik diff --git a/python39.spec b/python39.spec index 2a098e5..64b9f87 100644 --- a/python39.spec +++ b/python39.spec @@ -315,6 +315,8 @@ Provides: python3-typing = %{version} Obsoletes: python3-typing < %{version} Provides: python3-xml = %{version} Obsoletes: python3-xml < %{version} +%else +%define __requires_exclude_from ^%{_libdir}/python%{python_version}/.*$ %endif %description -n %{python_pkg_name}-base