From 063ce6d247bd2d27d3ce461a55fdae322c25ce7c Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Tue, 9 Dec 2025 13:40:02 -0500 Subject: [PATCH] Removed the no auto patch toggle, give numbering to patch --- hyprland-git/hyprland-git.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hyprland-git/hyprland-git.spec b/hyprland-git/hyprland-git.spec index 9c5204d..b65cc5e 100644 --- a/hyprland-git/hyprland-git.spec +++ b/hyprland-git/hyprland-git.spec @@ -28,7 +28,7 @@ License: BSD-3-Clause AND BSD-2-Clause AND HPND-sell-variant AND LGPL-2.1 URL: https://github.com/hyprwm/Hyprland %if 0%{?bumpver} Source0: %{url}/archive/%{hyprland_commit}/%{name}-%{hyprland_shortcommit}.tar.gz -Patch: dynamicPointerCast.patch +Patch1: dynamicPointerCast.patch Source2: https://github.com/hyprwm/hyprland-protocols/archive/%{protocols_commit}/protocols-%{protocols_shortcommit}.tar.gz Source3: https://github.com/canihavesomecoffee/udis86/archive/%{udis86_commit}/udis86-%{udis86_shortcommit}.tar.gz %else @@ -201,8 +201,7 @@ Requires: pkgconfig(xkbcommon) %prep -%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N -%autopatch +%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} %if 0%{?fedora} < 43 mkdir -p subprojects/libxkbcommon tar -xf %{SOURCE5} -C subprojects/libxkbcommon --strip=1