Bug 504769

Summary: nondevel packages contain devel libraries
Product: [openSUSE] openSUSE 11.2 Reporter: Stefan Behlert <behlert>
Component: OtherAssignee: Petr Uzel <puzel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P4 - Low CC: behlert, chris, coolo, dmueller, jmatejek, kde-maintainers, meissner, mrueckert, nadvornik, puzel, ro
Version: Alpha 0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 450061    
Bug Blocks:    

Description Stefan Behlert 2009-05-18 14:04:31 UTC
+++ This bug was initially created as a clone of Bug #450061 +++

The following package contains files that may be better put into a -devel
package. Please evaluate:

pth-2.0.7-102.22
Comment 1 Petr Uzel 2009-06-02 14:55:47 UTC
pth is split to libpth20 and pth-devel
Comment 2 Pavol Rusnak 2009-06-02 15:00:24 UTC
It should be libpth-devel, not pth-devel ...
Comment 3 Petr Uzel 2009-06-02 15:09:07 UTC
I had a discussion about this with darix and his suggestion was pth-devel. Why do you think pth-devel is wrong?
Comment 4 Pavol Rusnak 2009-06-02 15:15:55 UTC
I understood from the following document that packages containing devel files for certain library should have name in form libfoo-devel, not foo-devel.

http://en.opensuse.org/Packaging/Shared_Libraries
Comment 5 Petr Uzel 2009-06-03 08:34:12 UTC
Even when the name of upstream package is just pth (not libpth)?
There are more such packages: gmime, boost, ...
If you still think it is wrong, please reopen this bug.

Thanks
Comment 6 Dirk Mueller 2009-06-03 18:38:46 UTC
I think for shared libraries we prefer to follow the shared library policy naming: 

http://en.opensuse.org/Packaging/Shared_Library_Packaging_Policy
Comment 7 Pavol Rusnak 2009-06-03 18:43:26 UTC
Dirk: that's the exact link I posted :-)

The problem is that the policy does not specify clearly enough whether the "lib" should be used in the names of -devel packages (regardless of the upstream name).
Comment 8 Dirk Mueller 2009-06-08 16:04:48 UTC
see Examples - zlib vs libz-devel and section 4b.
Comment 9 Petr Uzel 2009-06-11 08:15:53 UTC
pth-devel renamed to libpth-devel
Comment 10 Christian Wittmer 2010-01-26 16:33:21 UTC
Hi,

reading and understanding are really two parts.

libpth20, and pth-devel because
Exception 4b is telling:

If more than one version of a -devel package can be installed at the same time the -devel packages should be suffixed with a number that allows identifying the version of the library
==> So such a -devel package would be named lib$NAME$NUM-devel

This is not the case here.

devel package need to named pth-devel.

Kind Regards
Chris
Comment 11 Petr Uzel 2010-02-01 12:54:54 UTC
As far as I understand, the exception 4b only states that if some condition is true, then the package should be named lib$NAME$NUM-devel. 

But it doesn't state that if the same condition is false (pth's case), then the package can not be named lib$NAME$NUM-devel.

I agree with comment #7 and therefore I'm not going to rename the package again, sorry.