14
0

- Update to 1.8.1:

* No changelog.
- Rebase all patches.
- Add patch check-for-python310-correctly.patch:
  * Check for Python 3.10 correctly.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-prctl?expand=0&rev=9
This commit is contained in:
2022-02-07 06:37:49 +00:00
committed by Git OBS Bridge
parent d02b483aba
commit 8778241533
12 changed files with 73 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-prctl
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-prctl
Version: 1.7
Version: 1.8.1
Release: 0
Summary: Python(ic) interface to the linux prctl syscall
License: GPL-3.0-or-later
@@ -30,6 +30,8 @@ Patch1: memory_failure_early_kill.patch
Patch2: bigendian.patch
Patch3: powerpc.patch
Patch4: disable_no_new_privs.patch
Patch5: correct-uname-comparsion.patch
Patch6: check-for-python310-correctly.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -50,8 +52,7 @@ Besides prctl, this library also wraps libcap for complete capability handling
and allows you to set the process name as seen in ps and top.
%prep
%setup -q -n python-prctl-%{version}
%autopatch -p1
%autosetup -p1 -n python-prctl-%{version}
cp %{SOURCE99} .
%build