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-02-14 11:54:01 +0800
commitdd0c883d14bc2f5b53dc9c577f54180f83a248e7 (patch)
treed8e6f7d833d07fd8cadfbe7b29c9eda7cae9ba97
parentf3fab8ddebbdaf26c55e3e8298ca9bb554a8af9d (diff)
downloadlibdrm-dd0c883d14bc2f5b53dc9c577f54180f83a248e7.tar.gz
libdrm-dd0c883d14bc2f5b53dc9c577f54180f83a248e7.tar.bz2
libdrm-dd0c883d14bc2f5b53dc9c577f54180f83a248e7.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.*