forked from pool/python-pytest-subprocess
- Simplify %%prep.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-subprocess?expand=0&rev=2
This commit is contained in:
@@ -57,8 +57,7 @@ A pytest plugin to fake subprocess for pytest. The plugin adds the
|
||||
register subprocess results so you won't need to rely on the real processes.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-subprocess-%{version}
|
||||
%setup -q -D -T -a 1 -n pytest-subprocess-%{version}
|
||||
%autosetup -p1 -a1 -n pytest-subprocess-%{version}
|
||||
|
||||
chmod -x LICENSE README.rst pytest_subprocess/py.typed pytest_subprocess.egg-info/*
|
||||
sed -Ei "s/\r$//" README.rst
|
||||
|
||||
Reference in New Issue
Block a user