Commit 93c9b886 authored by Mihai Moldovan's avatar Mihai Moldovan

nx-libs.spec: newer versions of SLE* and OpenSuSE use xkbcomp-devel, while…

nx-libs.spec: newer versions of SLE* and OpenSuSE use xkbcomp-devel, while RedHat-based distros want xorg-x11-xkb-utils-devel for xkbcomp.pc.
parent 89f1e3ba
......@@ -32,10 +32,17 @@ BuildRequires: pkgconfig
%if 0%{?suse_version} && 0%{?suse_version} < 1210
BuildRequires: xorg-x11-util-devel
%else
# we need xkbcomp.pc
BuildRequires: xorg-x11-xkb-utils-devel
BuildRequires: imake
%endif
# For xkbcomp.pc.
%if 0%{?suse_version}
# Earlier versions don't have xkbcomp.pc at all.
%if 0%{?suse_version} >= 1210
BuildRequires: xkbcomp-devel
%endif
%else
BuildRequires: xorg-x11-xkb-utils-devel
%endif
# ideally we build with quilt (for mesa-quilt patch appliance script),
# it seems Fedora has it...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment