kwayland is part of frameworks now, silence %%setup
epel9
Rex Dieter 9 years ago
parent 3c7da2a28f
commit 2065b298af

@ -17,15 +17,13 @@ URL: https://quickgit.kde.org/?p=%{base_name}.git
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
Patch1: libkscreen-5.6.4-rhel-nowayland.patch Patch1: libkscreen-5.6.4-rhel-nowayland.patch
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
## upstreamable patches ## upstreamable patches
## upstream patches ## upstream patches
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros BuildRequires: kf5-rpm-macros
%if 0%{?fedora} %if 0%{?fedora}
BuildRequires: kf5-kwayland-devel >= %{majmin_ver} BuildRequires: kf5-kwayland-devel >= 5.22
%endif %endif
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
@ -56,11 +54,12 @@ developing applications that use %{name}.
%prep %prep
%setup -n %{base_name}-%{version} %setup -q -n %{base_name}-%{version}
%if 0%{?rhel} %if 0%{?rhel}
%patch1 -p1 -b .nowayland %patch1 -p1 -b .nowayland
%endif %endif
%build %build
mkdir %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}

Loading…
Cancel
Save