aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-12-16 04:16:45 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-16 04:16:45 +0100
commit3411a8bc787c12539429ba141392703d23c471b1 (patch)
treef0f89b10708f5cb7af414944dd0bd8ca74aae264
parentc7c4987b807869fc559af20f90b1e65a5f4caa08 (diff)
downloadnx-libs-3411a8bc787c12539429ba141392703d23c471b1.tar.gz
nx-libs-3411a8bc787c12539429ba141392703d23c471b1.tar.bz2
nx-libs-3411a8bc787c12539429ba141392703d23c471b1.zip
nx-libs.spec: imake is part of xorg-x11-util-devel on older *SUSE versions and the splitted imake package on later versions.
-rw-r--r--nx-libs.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/nx-libs.spec b/nx-libs.spec
index 544c0abcc..4081e76c3 100644
--- a/nx-libs.spec
+++ b/nx-libs.spec
@@ -29,7 +29,11 @@ BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
BuildRequires: libtool
BuildRequires: pkgconfig
+%if 0%{?suse_version} && 0%{?suse_version} < 1210
+BuildRequires: xorg-x11-util-devel
+%else
BuildRequires: imake
+%endif
# ideally we build with quilt (for mesa-quilt patch appliance script),
# it seems Fedora has it...
@@ -87,7 +91,6 @@ BuildRequires: xorg-x11-proto-devel
BuildRequires: xorg-x11-libXdmcp-devel
BuildRequires: xorg-x11-libXfixes-devel
%endif
-BuildRequires: xorg-x11-util-devel
%endif
%if 0%{?fedora} || 0%{?rhel}