From f16d679a9ea95c8d9ebaf948504f62b568da6c5505059d19e66356a9fd6e5a23 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 26 Feb 2024 11:22:09 +0000 Subject: [PATCH] Accepting request 1151179 from home:dimstar:rpm4.20:c Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1151179 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cunit?expand=0&rev=17 --- cunit.changes | 6 ++++++ cunit.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cunit.changes b/cunit.changes index aa01a38..c276cd1 100644 --- a/cunit.changes +++ b/cunit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 11:02:25 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Tue Feb 6 08:08:12 UTC 2024 - Fridrich Strba diff --git a/cunit.spec b/cunit.spec index 3f3d7b8..42baad4 100644 --- a/cunit.spec +++ b/cunit.spec @@ -75,9 +75,7 @@ CUnit is a unit testing framework for C. This package installs the CUnit shared library. %prep -%setup -q -n %{_name}-%{_version} -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n %{_name}-%{_version} chmod -x AUTHORS ChangeLog COPYING NEWS README TODO doc/*.html doc/*.css