diff --git a/autojump.changes b/autojump.changes index 03b0350..5de7279 100644 --- a/autojump.changes +++ b/autojump.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 11:11:06 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Fri Apr 22 12:07:10 UTC 2022 - pgajdos@suse.com diff --git a/autojump.spec b/autojump.spec index 84d3baf..816923a 100644 --- a/autojump.spec +++ b/autojump.spec @@ -38,8 +38,7 @@ the command line. Directories must be visited first before they can be jumped to. %prep -%setup -q -n %{name}-release-v%{version} -%patch0 -p1 +%autosetup -p1 -n %{name}-release-v%{version} # Fix shebangs. sed -i 's/env python$/python3/' bin/%{name}