SHA256
1
0
forked from pool/Mesa

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
This commit is contained in:
Stefan Dirsch 2013-01-07 11:15:16 +00:00 committed by Git OBS Bridge
parent c902c69c9e
commit 215a78b468
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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