Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 193189 - should have libpcap-devel
Summary: should have libpcap-devel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tcpdump
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Blocker 195764
TreeView+ depends on / blocked
 
Reported: 2006-05-25 22:05 UTC by Jeremy Katz
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-04 18:02:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Katz 2006-05-25 22:05:35 UTC
As libpcap is intended for developing against, there should be a -devel subpackage

Comment 1 Martin Stransky 2006-05-30 18:19:40 UTC
modified in rawhide...

Comment 2 Ville Skyttä 2006-06-03 18:38:34 UTC
There is one issue with the implementation as of 14:3.9.4-6: libpcap.so is in
the main libpcap package, and libpcap-devel does not have a dependency on libpcap.

The result is that packages that have "BuildRequires: libpcap-devel" will not
have libpcap pulled in in various build roots, and because the *.so symlink is
in the main package and thus not available, will become statically linked with
libpcap.a, which is unexpected.

Fix: move the libpcap.so symlink to libpcap-devel and/or add a dependency on
libpcap to libpcap-devel.  Additionally, is there a need to ship the static lib
in the first place?

One more thing while at it: libpcap-devel ships the empty /usr/include/net
directory which seems odd, perhaps that can be dropped?

Comment 3 Dennis Gilmore 2006-06-03 19:14:29 UTC
going by Fedora Extras policy,  which new Core packages must use.  you need to 
put the .so files in the devel packages  and you need to have the 
libpcap-devel package Require a versioned libpcap package

Comment 4 Jeremy Katz 2006-06-04 18:02:16 UTC
Agreed -- fixed these up in CVS


Note You need to log in before you can comment on or make changes to this bug.