From 61df8cd944916865d746bc03922eb069a43bc711a3c634f51f48e4c910101bb6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 26 Feb 2024 10:49:37 +0000 Subject: [PATCH] Accepting request 1150810 from home:dimstar:rpm4.20:k Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1150810 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/kitty?expand=0&rev=141 --- kitty.changes | 6 ++++++ kitty.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) 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@' {} +