Removed the no auto patch toggle, give numbering to patch
Some checks failed
Build hyprland-git / Build and push image (push) Failing after 3m3s

This commit is contained in:
2025-12-09 13:40:02 -05:00
parent 981c359cef
commit 063ce6d247

View File

@@ -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 URL: https://github.com/hyprwm/Hyprland
%if 0%{?bumpver} %if 0%{?bumpver}
Source0: %{url}/archive/%{hyprland_commit}/%{name}-%{hyprland_shortcommit}.tar.gz 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 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 Source3: https://github.com/canihavesomecoffee/udis86/archive/%{udis86_commit}/udis86-%{udis86_shortcommit}.tar.gz
%else %else
@@ -201,8 +201,7 @@ Requires: pkgconfig(xkbcommon)
%prep %prep
%autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source} -N %autosetup -n %{?bumpver:Hyprland-%{hyprland_commit}} %{!?bumpver:hyprland-source}
%autopatch
%if 0%{?fedora} < 43 %if 0%{?fedora} < 43
mkdir -p subprojects/libxkbcommon mkdir -p subprojects/libxkbcommon
tar -xf %{SOURCE5} -C subprojects/libxkbcommon --strip=1 tar -xf %{SOURCE5} -C subprojects/libxkbcommon --strip=1