14
0

- Patch out flaky tests that seldomly fails in obs:

* obs-timeout.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zdaemon?expand=0&rev=30
This commit is contained in:
Tomáš Chvátal
2019-09-12 17:16:52 +00:00
committed by Git OBS Bridge
parent d3b78c6d47
commit b8345dc20a
3 changed files with 50 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ License: ZPL-2.1
Group: Development/Languages/Python
URL: https://github.com/zopefoundation/zdaemon
Source: https://files.pythonhosted.org/packages/source/z/zdaemon/%{modname}-%{version}.tar.gz
Patch0: obs-timeout.patch
BuildRequires: %{python_module ZConfig}
BuildRequires: %{python_module manuel}
BuildRequires: %{python_module mock}
@@ -49,6 +50,7 @@ although it is not limited to running Python-based applications
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
# remove unwanted shebang
sed -i '1 { /^#!/ d }' src/zdaemon/tests/nokill.py
rm -rf src/zdaemon.egg-info