summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Prystupa <andriy.prystupa@globallogic.com>2014-05-21 16:06:03 +0300
committerQuanxian Wang <quanxian.wang@intel.com>2014-10-15 12:06:15 +0800
commit12528efc426d3f4b88fee165baf99f4a9ddf264b (patch)
tree630058bc8147b0b5ab6806beb1ed9bc1bcb4e181
parent44e953f04c8184db253df294777c9930be96cacc (diff)
downloadlibdrm-12528efc426d3f4b88fee165baf99f4a9ddf264b.tar.gz
libdrm-12528efc426d3f4b88fee165baf99f4a9ddf264b.tar.bz2
libdrm-12528efc426d3f4b88fee165baf99f4a9ddf264b.zip
fixed arch check for libdrm-intel requires.
Currently we have invalid requires for libdrm-intel for non-arm and non-intel arches. Change-Id: I19c90a272da284f63c6d862a2e67e94f110a2807 Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>
-rw-r--r--packaging/libdrm.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/libdrm.spec b/packaging/libdrm.spec
index 89589ad6..01963ffe 100644
--- a/packaging/libdrm.spec
+++ b/packaging/libdrm.spec
@@ -18,7 +18,7 @@ Direct Rendering Manager headers and kernel modules.
Summary: Userspace interface to kernel DRM services
Requires: kernel-headers
Requires: libdrm = %{version}
-%ifnarch %{arm}
+%ifarch i586 i686 %ix86 x86_64
Requires: libdrm-intel = %{version}
%endif
Requires: libkms = %{version}