From bd3d99ead4c299094a4ec80ef30d47bd9789f7a5732d4531487b54167b7d963d Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 26 Feb 2024 13:38:38 +0000 Subject: [PATCH] Accepting request 1151520 from home:dimstar:rpm4.20:s Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151520 OBS-URL: https://build.opensuse.org/package/show/devel:tools/shunit2?expand=0&rev=7 --- shunit2.changes | 6 ++++++ shunit2.spec | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/shunit2.changes b/shunit2.changes index 62b49ca..24bfd84 100644 --- a/shunit2.changes +++ b/shunit2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 13:17:36 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Wed Apr 20 15:29:17 UTC 2016 - mpluskal@suse.com diff --git a/shunit2.spec b/shunit2.spec index 166d515..8541618 100644 --- a/shunit2.spec +++ b/shunit2.spec @@ -39,13 +39,11 @@ If you have ever had the desire to write a unit test for a shell script, shUnit2 can do the job. %prep -%setup -q +%autosetup -p0 + # Use the correct version and overwrite it: cp %{SOURCE1} doc/LGPL-2.1 -%patch0 -%patch1 - %build # Add the correct basedir in our script: sed -i 's#@SHUNIT_HOME@#%{SHUNIT_HOME}#g' bin/gen_test_results.sh