From 33d746bdb27642a4e8a530ae9f212d8de4f9e13a64d3efedf1c36e879ae3fc42 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 10 Jun 2024 07:43:06 +0000 Subject: [PATCH] - Use %autosetup macro: allows us to eliminate usage of deprecated %patchN syntax. OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/Modules?expand=0&rev=35 --- Modules.changes | 6 ++++++ Modules.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Modules.changes b/Modules.changes index 8b98ab0..f1e31ba 100644 --- a/Modules.changes +++ b/Modules.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 21 10:40:16 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro: allows us to eliminate usage of deprecated + %patchN syntax. + ------------------------------------------------------------------- Sat Jul 31 16:52:07 UTC 2021 - Philipp Wagner diff --git a/Modules.spec b/Modules.spec index 2938177..a843ebf 100644 --- a/Modules.spec +++ b/Modules.spec @@ -1,7 +1,7 @@ # # spec file for package Modules # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -93,8 +93,8 @@ applications. %define vimdatadir %{_datadir}/vim/site %prep -%setup -q -n modules-%{version} -%patch1 -p1 +%autosetup -p1 -n modules-%{version} + # This is debatable: # if the replace 'bash' consecutive calls to 'modules' would still # run with the original bash. Maybe not intended.