Bug 484849

Summary: uuid : expensive superfluous file dependencies
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: uuidAssignee: Steven Pritchard <steve>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 10CC: steve
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-04 18:11:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Schwendt 2009-02-10 10:33:10 UTC
uuid-devel really ought to "Requires: pkgconfig"
instead of depending on %_libdir/pkgconfig. The latter requires
package resolvers to download and parse the huge filelists instead
of just the primary metadata.

$ rpm -q uuid-devel
uuid-devel-1.6.1-3.fc9.i386

It does a similar thing in the -php and -pgsql subpackages.
Inflation of file dependencies will make dependency resolving
in Fedora slower and slower until we are forced to fight such
dependencies with strict guidelines. Please avoid them.

If you have strong doubts that a needed directory will stay in
the same package, add a safety-check to your %prep script.

Comment 1 Michael Schwendt 2009-04-25 12:18:41 UTC
*ping*

Comment 2 Michael Schwendt 2009-05-04 18:11:46 UTC
Fixed committed - in F12 devel tree only.

Comment 3 Michael Schwendt 2009-05-07 15:36:14 UTC
https://www.redhat.com/archives/fedora-devel-list/2009-May/msg00328.html

"Requires: %_libdir/pkgconfig" doesn't work, since it's a hidden broken dep. For example, pkgconfig.i386 is not made available in the x86_64 repo, so nothing provides /usr/lib/pkgconfig, and you don't get pkgconfig.i386 with a dependency on the path. It just seemed to work because other -devel packages included and provided %_libdir/pkgconfig because of packaging bugs. Using "Requires: pkgconfig%{_isa}" was base on the assumption that pkgconfig is multilib'ed, but actually the 32-bit pkgconfig is not available on 64-bit multi-lib platforms.