14
0

Accepting request 832752 from home:michals

- Fixing arch-dependent test failures (bsc#1176085):
  * renamed failing-on-i586.patch to memory_failure_early_kill.patch
    * and modified it to skip the test also on s390x
  * added bigendian.patch
  * added powerpc.patch
  * huge thanks to Michal Suchánek

OBS-URL: https://build.opensuse.org/request/show/832752
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-prctl?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2020-09-07 12:27:41 +00:00
committed by Git OBS Bridge
parent 4284225251
commit 311551ec9f
5 changed files with 121 additions and 4 deletions

View File

@@ -26,7 +26,9 @@ URL: https://github.com/seveas/python-prctl
Source: https://files.pythonhosted.org/packages/source/p/python-prctl/python-prctl-%{version}.tar.gz
Source99: https://raw.githubusercontent.com/seveas/python-prctl/master/COPYING
Patch0: disable-sandboxed-test.patch
Patch1: failing-on-i586.patch
Patch1: memory_failure_early_kill.patch
Patch2: bigendian.patch
Patch3: powerpc.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -48,8 +50,7 @@ and allows you to set the process name as seen in ps and top.
%prep
%setup -q -n python-prctl-%{version}
%patch0 -p1
%patch1 -p1
%autopatch -p1
cp %{SOURCE99} .
%build