From b479f293b3b7849834df984aa85f9029f7fba377d9eb43ac1ec6cda8569dde65 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 26 Jan 2023 14:08:35 +0000 Subject: [PATCH] - Simplify %%prep. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-subprocess?expand=0&rev=2 --- python-pytest-subprocess.changes | 5 +++++ python-pytest-subprocess.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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