diff --git a/wlroots-0.15.1.tar.gz b/wlroots10-0.15.1.tar.gz similarity index 100% rename from wlroots-0.15.1.tar.gz rename to wlroots10-0.15.1.tar.gz diff --git a/wlroots.changes b/wlroots10.changes similarity index 100% rename from wlroots.changes rename to wlroots10.changes diff --git a/wlroots.spec b/wlroots10.spec similarity index 94% rename from wlroots.spec rename to wlroots10.spec index 15d02ed..259abc9 100644 --- a/wlroots.spec +++ b/wlroots10.spec @@ -1,5 +1,5 @@ # -# spec file for package wlroots +# spec file for package wlroots10 # # Copyright (c) 2022 SUSE LLC # @@ -30,7 +30,7 @@ Summary: Modular Wayland compositor library License: MIT Group: System/GUI/Other URL: https://gitlab.freedesktop.org/wlroots/wlroots -Source0: https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/%{version}/downloads/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz Patch0: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3456.patch BuildRequires: glslang-devel BuildRequires: meson >= 0.58.1 @@ -91,7 +91,8 @@ Group: System/Libraries Pluggable, composable modules for building a Wayland compositor. %prep -%autosetup -p1 +%setup -n wlroots-%{version} +%patch0 -p1 %build export CFLAGS="%{optflags} -I/usr/include/wayland -Wno-redundant-decls"