fixed arch check for libdrm-intel requires.
authorAndriy Prystupa <andriy.prystupa@globallogic.com>
Wed, 21 May 2014 13:06:03 +0000 (16:06 +0300)
committerQuanxian Wang <quanxian.wang@intel.com>
Wed, 15 Oct 2014 04:06:15 +0000 (12:06 +0800)
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>
packaging/libdrm.spec

index 89589ad..01963ff 100644 (file)
@@ -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}