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