Remove redundant Source and Patch numbers

This commit is contained in:
Miro Hrončok 2023-11-21 11:49:11 +01:00
parent eaec904684
commit 1f5631980e

View File

@ -5,22 +5,22 @@ Summary: A process and system utilities module for Python
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/giampaolo/psutil URL: https://github.com/giampaolo/psutil
Source0: %{url}/archive/release-%{version}/psutil-%{version}.tar.gz Source: %{url}/archive/release-%{version}/psutil-%{version}.tar.gz
# #
# skip 2 tests that fail in mock chroots # skip 2 tests that fail in mock chroots
# #
Patch0: python-psutil-skip-tests-in-mock.patch Patch: python-psutil-skip-tests-in-mock.patch
# #
# avoid: AssertionError: 7883822.420000001 != 7883822.42 # avoid: AssertionError: 7883822.420000001 != 7883822.42
# #
Patch1: python-psutil-test-sum-floats-via-almost-equal.patch Patch: python-psutil-test-sum-floats-via-almost-equal.patch
# #
# include unistd.h to avoid (on Python 3.13+): # include unistd.h to avoid (on Python 3.13+):
# error: implicit declaration of function syscall # error: implicit declaration of function syscall
# error: implicit declaration of function close # error: implicit declaration of function close
# upstream PR: https://github.com/giampaolo/psutil/pull/2321 # upstream PR: https://github.com/giampaolo/psutil/pull/2321
# #
Patch2: python-psutil-include-unistd.h.patch Patch: python-psutil-include-unistd.h.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: grep BuildRequires: grep