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