summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-21 06:01:16 -0800
committerWang Quanxian <quanxian.wang@intel.com>2013-07-09 11:37:19 +0800
commit5803ea44c78bb790a0b57778e6f4781a3a3bbd64 (patch)
treef90c7c185132de9ced6f08e90ba0dd8e0dd045b4
parent1a4b96ea7e8ad4c7036c38bbe9f483142dacf116 (diff)
downloadlibdrm-5803ea44c78bb790a0b57778e6f4781a3a3bbd64.tar.gz
libdrm-5803ea44c78bb790a0b57778e6f4781a3a3bbd64.tar.bz2
libdrm-5803ea44c78bb790a0b57778e6f4781a3a3bbd64.zip
do not install libdrm_intel on ARM
-rw-r--r--packaging/libdrm.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/libdrm.spec b/packaging/libdrm.spec
index bc7940a5..15096840 100644
--- a/packaging/libdrm.spec
+++ b/packaging/libdrm.spec
@@ -101,7 +101,9 @@ make %{?_smp_mflags}
%if 0%{?enable_slp}
%{_libdir}/libdrm_slp.so
%endif
+%ifarch i586 i686 %ix86 x86_64
%{_libdir}/libdrm_intel.so
+%endif
%{_libdir}/libkms.so
%{_libdir}/libdrm_exynos.so
%{_libdir}/pkgconfig/*
@@ -117,7 +119,7 @@ make %{?_smp_mflags}
%manifest libdrm.manifest
%{_libdir}/libkms.so.*
-%ifnarch %arm
+%ifarch i586 i686 %ix86 x86_64
%files intel
%manifest libdrm.manifest
%{_libdir}/libdrm_intel.so.*