From e39bbd527f14071133d1d2445b486f085ffaea9d Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 18 Jan 2024 14:19:27 +0700 Subject: [PATCH] I no longer trust the automagic dependencies see https://github.com/Xpra-org/xpra/issues/3945#issuecomment-1897926438 for details --- packaging/rpm/python3-Cython.spec | 3 +++ packaging/rpm/python3-cairo.spec | 3 +++ packaging/rpm/python3-pycuda.spec | 3 +++ packaging/rpm/python3-pynvml.spec | 3 +++ packaging/rpm/python3-pytools.spec | 3 +++ packaging/rpm/python3-pyu2f.spec | 3 +++ packaging/rpm/python3-uinput.spec | 3 +++ packaging/rpm/python3-wheel.spec | 4 ++++ 8 files changed, 25 insertions(+) diff --git a/packaging/rpm/python3-Cython.spec b/packaging/rpm/python3-Cython.spec index 9568a54b8b..9bfb69f3b5 100644 --- a/packaging/rpm/python3-Cython.spec +++ b/packaging/rpm/python3-Cython.spec @@ -1,4 +1,7 @@ %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 Name: python3-Cython Version: 3.0.8 diff --git a/packaging/rpm/python3-cairo.spec b/packaging/rpm/python3-cairo.spec index 60cb7a29a9..adc12502b6 100644 --- a/packaging/rpm/python3-cairo.spec +++ b/packaging/rpm/python3-cairo.spec @@ -1,4 +1,7 @@ %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 Name: pycairo Version: 1.20.0 diff --git a/packaging/rpm/python3-pycuda.spec b/packaging/rpm/python3-pycuda.spec index 56866538c6..429e2d09c9 100644 --- a/packaging/rpm/python3-pycuda.spec +++ b/packaging/rpm/python3-pycuda.spec @@ -8,6 +8,9 @@ %define __requires_exclude ^libcuda.*$ %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 %global debug_package %{nil} %define STUBS_DIR targets/x86_64-linux/lib/stubs/ diff --git a/packaging/rpm/python3-pynvml.spec b/packaging/rpm/python3-pynvml.spec index b4e5c15857..adf8f4f664 100644 --- a/packaging/rpm/python3-pynvml.spec +++ b/packaging/rpm/python3-pynvml.spec @@ -4,6 +4,9 @@ # later version. See the file COPYING for details. %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 #this is a pure python package so debug is meaningless here: %define debug_package %{nil} diff --git a/packaging/rpm/python3-pytools.spec b/packaging/rpm/python3-pytools.spec index 06b8334b71..28d40f70ab 100644 --- a/packaging/rpm/python3-pytools.spec +++ b/packaging/rpm/python3-pytools.spec @@ -1,4 +1,7 @@ %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 Name: python3-pytools Version: 2022.1.14 diff --git a/packaging/rpm/python3-pyu2f.spec b/packaging/rpm/python3-pyu2f.spec index 07058dffbe..1232a4769e 100644 --- a/packaging/rpm/python3-pyu2f.spec +++ b/packaging/rpm/python3-pyu2f.spec @@ -4,6 +4,9 @@ # later version. See the file COPYING for details. %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 #this is a pure python package so debug is meaningless here: %define debug_package %{nil} diff --git a/packaging/rpm/python3-uinput.spec b/packaging/rpm/python3-uinput.spec index eca84c6c65..4320ee68a8 100644 --- a/packaging/rpm/python3-uinput.spec +++ b/packaging/rpm/python3-uinput.spec @@ -1,4 +1,7 @@ %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 Name: python3-uinput Version: 0.11.2 diff --git a/packaging/rpm/python3-wheel.spec b/packaging/rpm/python3-wheel.spec index 6d938efc9b..766986b85d 100644 --- a/packaging/rpm/python3-wheel.spec +++ b/packaging/rpm/python3-wheel.spec @@ -1,4 +1,8 @@ %define _disable_source_fetch 0 +%define __python_requires %{nil} +%define __pythondist_requires %{nil} +Autoreq: 0 + %define python3_version %(python3 -c 'import sys;vi=sys.version_info;print(f"{vi[0]}.{vi[1]}")') %define python3_minor %(python3 -c 'import sys;vi=sys.version_info;print(f"{vi[1]}")')