14
0

Accepting request 1008682 from home:mcalabkova:branches:devel:languages:python

- Add patch dont-check-builddir.patch
  * The check whether the tests run in builddir is broken, turn it off 
    and assume everything is fine (we would see it if not).

OBS-URL: https://build.opensuse.org/request/show/1008682
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-prctl?expand=0&rev=12
This commit is contained in:
2022-10-07 07:47:52 +00:00
committed by Git OBS Bridge
parent 5b722507cf
commit 517329d495
3 changed files with 29 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ Patch4: disable_no_new_privs.patch
Patch5: correct-uname-comparsion.patch
Patch6: check-for-python310-correctly.patch
Patch7: skip-speculation.patch
Patch8: dont-check-builddir.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -64,7 +65,7 @@ cp %{SOURCE99} .
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m unittest discover -v
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python test_prctl.py
%files %{python_files}
%license COPYING