From f4c1caf3987111612c790e3da87caa37a31737100c8bd6b98689c8218f3a1fa2 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 31 Dec 2007 21:25:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdrm?expand=0&rev=2 --- libdrm.changes | 6 ++++++ libdrm.spec | 22 ++++++++++++++-------- 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/libdrm.changes b/libdrm.changes index 8302066..ff07a4f 100644 --- a/libdrm.changes +++ b/libdrm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 27 05:13:17 CET 2007 - crrodriguez@suse.de + +- fix library-without-ldconfig-postun warning +- libdrm.la had an empty dependency_libs, removed. + ------------------------------------------------------------------- Sat Dec 2 20:39:53 CET 2006 - sndirsch@suse.de diff --git a/libdrm.spec b/libdrm.spec index 63bce3d..49f6d4c 100644 --- a/libdrm.spec +++ b/libdrm.spec @@ -1,7 +1,7 @@ # # spec file for package libdrm (Version 2.3.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,12 +12,12 @@ Name: libdrm BuildRequires: glibc-devel -URL: http://dri.sf.net +Url: http://dri.sf.net License: X11/MIT Group: System/Libraries -Autoreqprov: on +AutoReqProv: on Version: 2.3.0 -Release: 1 +Release: 54 Summary: Userspace Interface for Kernel DRM Services Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -92,11 +92,12 @@ Authors: Torsten Duwe %prep -%setup +%setup -q %build autoreconf -fi -./configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" --prefix=/usr --libdir=%{_libdir} +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +%configure --with-pic make %install @@ -107,6 +108,8 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files %defattr(-,root,root) /usr/%{_lib}/libdrm.so.2 @@ -117,11 +120,14 @@ rm -rf $RPM_BUILD_ROOT /usr/include/drm/ /usr/include/xf86drm.h /usr/include/xf86mm.h -/usr/%{_lib}/libdrm.la /usr/%{_lib}/libdrm.so /usr/%{_lib}/pkgconfig/libdrm.pc +%exclude %{_libdir}/libdrm.la -%changelog -n libdrm +%changelog +* Thu Dec 27 2007 - crrodriguez@suse.de +- fix library-without-ldconfig-postun warning +- libdrm.la had an empty dependency_libs, removed. * Sat Dec 02 2006 - sndirsch@suse.de - updated to 2.3.0 (required by X.Org (Server) 7.2 RC3) * Fri Jul 28 2006 - sndirsch@suse.de