From 1b42fb381971bf6fadd7cbd42e3849288a4f4784cf4cc9b007f364a0082d3ae9 Mon Sep 17 00:00:00 2001 From: llyyr Date: Sun, 27 Nov 2022 00:30:49 +0000 Subject: [PATCH] Accepting request 1038371 from home:llyyr:branches:X11:Wayland Make it actually build this time OBS-URL: https://build.opensuse.org/request/show/1038371 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wlroots10?expand=0&rev=2 --- wlroots-0.15.1.tar.gz => wlroots10-0.15.1.tar.gz | 0 wlroots.changes => wlroots10.changes | 0 wlroots.spec => wlroots10.spec | 7 ++++--- 3 files changed, 4 insertions(+), 3 deletions(-) rename wlroots-0.15.1.tar.gz => wlroots10-0.15.1.tar.gz (100%) rename wlroots.changes => wlroots10.changes (100%) rename wlroots.spec => wlroots10.spec (94%) 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"