Accepting request 106444 from home:k0da:ppc
- don't package libdrm-intel on ppc, ppc64. As there is not intel cards OBS-URL: https://build.opensuse.org/request/show/106444 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=98
This commit is contained in:
parent
65b17976e5
commit
3ccc0baee9
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 22 12:30:56 UTC 2012 - dvaleev@suse.com
|
||||
|
||||
- don't package libdrm-intel on ppc, ppc64. As there is not intel
|
||||
cards
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 11 16:37:39 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
|
12
libdrm.spec
12
libdrm.spec
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: libdrm
|
||||
Url: http://dri.freedesktop.org/
|
||||
Version: 2.4.31
|
||||
@ -62,8 +61,11 @@ Provides: libdrm = %version-%release
|
||||
%package devel
|
||||
Summary: Libraries, includes and more to develop libdrm applications
|
||||
Group: Development/Libraries/X11
|
||||
Requires: libdrm2 = %version, libdrm_intel1 = %version
|
||||
Requires: libdrm2 = %version
|
||||
Requires: libdrm_nouveau1 = %version, libdrm_radeon1 = %version
|
||||
%ifnarch ppc ppc64
|
||||
Requires: libdrm_intel1 = %version
|
||||
%endif
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libdrm-devel-64bit < %{version}
|
||||
@ -94,12 +96,14 @@ 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
|
||||
%package -n libdrm_intel1
|
||||
Summary: Userspace interface for Kernel DRM services for Intel chips
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libdrm_intel1
|
||||
(Upstream has not provided a description)
|
||||
%endif
|
||||
|
||||
%package -n libdrm_nouveau1
|
||||
Summary: Userspace interface for Kernel DRM services for NVIDIA chips
|
||||
@ -160,9 +164,11 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%postun -n libdrm2 -p /sbin/ldconfig
|
||||
|
||||
%ifnarch ppc ppc64
|
||||
%post -n libdrm_intel1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdrm_intel1 -p /sbin/ldconfig
|
||||
%endif
|
||||
|
||||
%post -n libdrm_nouveau1 -p /sbin/ldconfig
|
||||
|
||||
@ -196,9 +202,11 @@ rm -f "%buildroot/%_libdir"/*.la
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libdrm.so.2*
|
||||
|
||||
%ifnarch ppc ppc64
|
||||
%files -n libdrm_intel1
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libdrm_intel.so.1*
|
||||
%endif
|
||||
|
||||
%files -n libdrm_nouveau1
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user