From 70f1cff3b83dde6e53c3f98eb073bf844ca0655ee2b6c17bc93334b0d9dfd76d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 22 Feb 2024 09:25:22 +0000 Subject: [PATCH] Accepting request 1149036 from home:dimstar:rpm4.20:h Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149036 OBS-URL: https://build.opensuse.org/package/show/network:utilities/horst?expand=0&rev=10 --- horst.changes | 6 ++++++ horst.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/horst.changes b/horst.changes index c680ff3..cb32770 100644 --- a/horst.changes +++ b/horst.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 07:58:44 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Fri Dec 17 13:15:17 UTC 2021 - Andreas Stieger diff --git a/horst.spec b/horst.spec index 59c1559..1515c9b 100644 --- a/horst.spec +++ b/horst.spec @@ -41,8 +41,8 @@ deep packet inspection and has features for ad-hoc (IBSS) mode and mesh networks. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 + if [ -z "$SOURCE_DATE_EPOCH" ]; then # Remove build time references so build-compare can do its work FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')