diff --git a/python-pytest-subprocess.changes b/python-pytest-subprocess.changes index fe70e9f..5005f8b 100644 --- a/python-pytest-subprocess.changes +++ b/python-pytest-subprocess.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 26 14:08:30 UTC 2023 - Matej Cepl + +- Simplify %%prep. + ------------------------------------------------------------------- Wed Jan 25 09:15:32 UTC 2023 - Atri Bhattacharya diff --git a/python-pytest-subprocess.spec b/python-pytest-subprocess.spec index 27a2418..bfae3bf 100644 --- a/python-pytest-subprocess.spec +++ b/python-pytest-subprocess.spec @@ -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