Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=659972

--- Comment #2 from Mamoru Tasaka <[email protected]> 2010-12-04 
11:39:39 EST ---
(In reply to comment #1)
>  Requires: %{name}-libs
> in the main package which you have added must be dropped as an explicit lib
> require. The library dependency is automatically picked up by rpm.
> 
> The -devel package must have it, though, since there is nothing in -devel that
> would pull in the libraries automatically.

Umm.. 
- currently (it seems) that if -devel package contains %_libdir/libfoo.so
  and -libs or main package has %_libdir/libfoo.so.X, rpmbuild adds
  the dependency libfoo.so.X to -devel subpackage.
  For example libX11-devel has R: libX11-xcb.so.1 and R: libX11.so.6,
  despite that libX11-devel contains only ldconfig symlink, header files,
  pkgconfig files, and man files.

- And usually if libraries (%_libdir/libfoo.so.X*) are splitted out
  into -libs subpackage, the main package has "R: -libs = %version-%release"
  https://fedoraproject.org/wiki/Packaging/Guidelines#Requiring_Base_Package
  (In this case the "base" package is -libs).
  e.g. file has "R: file-libs = %version-%release", many others do so

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to