2019-12-28 18:09:35 +00:00
committed by Git OBS Bridge
parent 8caf53a9a1
commit 93876f418b
3 changed files with 53 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/manahl/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
Patch0: fix_pathlib.patch
BuildRequires: %{python_module execnet}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module path.py}
@@ -55,8 +56,7 @@ tools for automated tests.
%prep
%setup -q -n pytest-shutil-%{version}
sed -i 's/contextlib2/contextlib2;python_version<"3"/' setup.py
sed -i 's/path\.py/path\.py;python_version<"3"/' setup.py
%patch0 -p1
%build
%python_build