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:
parent
c902c69c9e
commit
215a78b468
11
Mesa.changes
11
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
|
Fri Dec 14 11:00:21 UTC 2012 - tobias.johannes.klausmann@mni.thm.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package Mesa
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
mkdir -p $RPM_BUILD_ROOT/etc
|
||||||
install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
|
install -m 644 $RPM_SOURCE_DIR/drirc $RPM_BUILD_ROOT/etc
|
||||||
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
||||||
|
sed -i -e '/^Libs.private/d' -e '/^Requires.private/d' %{buildroot}%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user