Accepting request 114408 from home:jengelh:branches:X11:XOrg

Remove some unneeded if blocks. It should suffice to have the
package without any %files for the rpm file to be skipped be created.

OBS-URL: https://build.opensuse.org/request/show/114408
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libdrm?expand=0&rev=104
This commit is contained in:
Stefan Dirsch 2012-04-18 13:51:37 +00:00 committed by Git OBS Bridge
parent ba51f43306
commit 83cd65c7c4

View File

@ -99,15 +99,12 @@ tracking relocations and buffers. libdrm is a low-level library,
typically used by graphics drivers such as the Mesa DRI and X
drivers.
%ifarch %ix86 x86_64
%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
@ -168,12 +165,9 @@ rm -f "%buildroot/%_libdir"/*.la
%postun -n libdrm2 -p /sbin/ldconfig
%ifarch %ix86 x86_64
%post -n libdrm_intel1 -p /sbin/ldconfig
%postun -n libdrm_intel1 -p /sbin/ldconfig
%endif
%post -n libdrm_nouveau1 -p /sbin/ldconfig