summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-21 06:01:16 -0800
committerQuanxian Wang <quanxian.wang@intel.com>2014-10-15 11:59:21 +0800
commit47c4c9e0a86caf2ca05ab55c7d074d0012054d69 (patch)
treefeb4db2e938c9d6db1c944b361fdb5245dc1b082
parentfb07f88a0bc69093da56ffee5ef83f0565496259 (diff)
downloadlibdrm-47c4c9e0a86caf2ca05ab55c7d074d0012054d69.tar.gz
libdrm-47c4c9e0a86caf2ca05ab55c7d074d0012054d69.tar.bz2
libdrm-47c4c9e0a86caf2ca05ab55c7d074d0012054d69.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.*