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')