diff --git a/kitty.changes b/kitty.changes index bf7f9c3..363d375 100644 --- a/kitty.changes +++ b/kitty.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 26 10:18:52 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + ------------------------------------------------------------------- Mon Feb 12 14:31:55 UTC 2024 - Scott Bradnick diff --git a/kitty.spec b/kitty.spec index b04ccb7..ab6d4bc 100644 --- a/kitty.spec +++ b/kitty.spec @@ -103,9 +103,7 @@ Summary: The shell-integation file(s) for the Kitty terminal shell-integration [bash,fish,zsh] file(s) for the Kitty terminal; this package can be installed on its own to provide file(s) instead of the full kitty package on remote systems. %prep -#%%autosetup -p1 -a 1 -%setup -a 1 -%patch0 +%autosetup -p0 -a 1 %if 0%{?suse_version} > 1500 find . -type f -exec sed -i 's@#!/usr/bin/env python3$@#!%{_bindir}/python3@' {} +