Matej Cepl 2022-02-16 16:50:15 +00:00 committed by Git OBS Bridge
parent 7914998739
commit fbd8547bbc
2 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Wed Feb 16 11:44:28 UTC 2022 - Sasi Olin <hel@lcp.world>
- Fix issue with tests failing on different filesystem setups
- Add python-sybil-fix-ordering.diff fixing issue with tests
failing on different filesystem setups.
-------------------------------------------------------------------
Mon Dec 13 04:11:03 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-sybil
#
# Copyright (c) 2021 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
@ -26,9 +26,11 @@ License: MIT
URL: https://github.com/cjw296/sybil
Source: https://files.pythonhosted.org/packages/source/s/sybil/sybil-%{version}.tar.gz
Patch0: python-sybil-fix-ordering.diff
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 6.2}
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-pytest
@ -43,13 +45,13 @@ of the normal test run. Integration is provided for the main Python test runners
%prep
%setup -q -n sybil-%{version}
sed -i '/pytest-cov/ d' setup.py
%patch0 -p1
%autopatch -p1
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check