From 215a78b46873e677d0be0eb1b0d950a88b067ee35d71069c840ff806eb526ce4 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 7 Jan 2013 11:15:16 +0000 Subject: [PATCH] Accepting request 147226 from home:elvigia:branches:X11:XOrg - Remove Requires.private and Libs.private from *.pc files * Both are needed only for static linking * This package provides only shared libraries * the rpm pkgconfig dependency generator considers "Requires.private" a valid dependency even though there are no static libraries in the packages * This cause bloat and hides broken "buildRequires" in other packages. OBS-URL: https://build.opensuse.org/request/show/147226 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=261 --- Mesa.changes | 11 +++++++++++ Mesa.spec | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Mesa.changes b/Mesa.changes index 4130c80..429c868 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Jan 5 15:28:51 UTC 2013 - crrodriguez@opensuse.org + +- Remove Requires.private and Libs.private from *.pc files + * Both are needed only for static linking + * This package provides only shared libraries + * the rpm pkgconfig dependency generator considers "Requires.private" + a valid dependency even though there are no static libraries in the + packages + * This cause bloat and hides broken "buildRequires" in other packages. + ------------------------------------------------------------------- Fri Dec 14 11:00:21 UTC 2012 - tobias.johannes.klausmann@mni.thm.de diff --git a/Mesa.spec b/Mesa.spec index 863715c..5682975 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -1,7 +1,7 @@ # # spec file for package Mesa # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -554,6 +554,7 @@ install -m 644 $RPM_SOURCE_DIR/README.updates \ mkdir -p $RPM_BUILD_ROOT/etc install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc %fdupes -s $RPM_BUILD_ROOT/%_mandir +sed -i -e '/^Libs.private/d' -e '/^Requires.private/d' %{buildroot}%{_libdir}/pkgconfig/*.pc %post -p /sbin/ldconfig