Accepting request 107022 from openSUSE:Factory:ARM

- fix build on arm

OBS-URL: https://build.opensuse.org/request/show/107022
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=100
This commit is contained in:
Stefan Dirsch 2012-02-27 11:59:41 +00:00 committed by Git OBS Bridge
parent 3ccc0baee9
commit 6ce737de72
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 26 15:57:23 CET 2012 - dmueller@suse.de
- fix build on arm
-------------------------------------------------------------------
Wed Feb 22 12:30:56 UTC 2012 - dvaleev@suse.com

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libdrm
Url: http://dri.freedesktop.org/
Version: 2.4.31
@ -63,7 +62,7 @@ Summary: Libraries, includes and more to develop libdrm applications
Group: Development/Libraries/X11
Requires: libdrm2 = %version
Requires: libdrm_nouveau1 = %version, libdrm_radeon1 = %version
%ifnarch ppc ppc64
%ifarch %ix86 x86_64
Requires: libdrm_intel1 = %version
%endif
# bug437293
@ -96,7 +95,7 @@ tracking relocations and buffers. libdrm is a low-level library,
typically used by graphics drivers such as the Mesa DRI and X
drivers.
%ifnarch ppc ppc64
%ifarch %ix86 x86_64
%package -n libdrm_intel1
Summary: Userspace interface for Kernel DRM services for Intel chips
Group: System/Libraries
@ -164,7 +163,7 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n libdrm2 -p /sbin/ldconfig
%ifnarch ppc ppc64
%ifarch %ix86 x86_64
%post -n libdrm_intel1 -p /sbin/ldconfig
%postun -n libdrm_intel1 -p /sbin/ldconfig
@ -202,7 +201,7 @@ rm -f "%buildroot/%_libdir"/*.la
%defattr(-,root,root)
%_libdir/libdrm.so.2*
%ifnarch ppc ppc64
%ifarch %ix86 x86_64
%files -n libdrm_intel1
%defattr(-,root,root)
%_libdir/libdrm_intel.so.1*