[opensuse-packaging] compiler / devel files in package
Good day everybody, Today I have a question regarding the packaging policy. i'm building the package orc (which is the successor of liboil). now, orc is a compiler, called orcc and a bunch of libraries. The libraries are split in a package according shlib (no problem there). The binary orcc would be in the main package and the -doc contains the extensive documentation. now the question is mainly with focus on the development headers: Should those really be split in a -devel package? As I see it so far pretty much every package that will require orc compiler will need access to the specific headers (but who know, this might change). The -devel package without the compiler itself is rather useless too I think. What are your suggestions? 1) Having the devel files in the main package and make rpmlint quiet ? b) Move orcc to the -devel package? If I look at gcc45 for example this contains a list of header files as well, so I'm very much inclined to do the same for orc (so option a). Any comments / suggestions / recommendations / objections / [...]ions ? Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
hi put the devel files into the main package and add Provides: %{name}-devel = %{version}-%{release} hth -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 3/18/2010 at 21:14, Marcus Rueckert <darix@opensu.se> wrote: hi
put the devel files into the main package and add Provides: %{name}-devel = %{version}-%{release}
hth
Thanks! This surely did the trick for it. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Mittwoch, 17. März 2010 schrieb Dominique Leuenberger:
Good day everybody,
Today I have a question regarding the packaging policy. i'm building the package orc (which is the successor of liboil). now, orc is a compiler, called orcc and a bunch of libraries.
The libraries are split in a package according shlib (no problem there). The binary orcc would be in the main package and the -doc contains the extensive documentation.
now the question is mainly with focus on the development headers: Should those really be split in a -devel package? As I see it so far pretty much every package that will require orc compiler will need access to the specific headers (but who know, this might change). The -devel package without the compiler itself is rather useless too I think.
What are your suggestions? 1) Having the devel files in the main package and make rpmlint quiet ? b) Move orcc to the -devel package?
If I look at gcc45 for example this contains a list of header files as well, so I'm very much inclined to do the same for orc (so option a).
Any comments / suggestions / recommendations / objections / [...]ions ?
I packaged it for packman this way: orc (the compiler) liborc-0_4-0 (the libs) orc-devel (header and linklib, and devel-docs) with Requires: orc = %{version}
Dominique
have fun Toni -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 3/19/2010 at 9:30, <oc2pus@arcor.de> wrote:
I packaged it for packman this way: orc (the compiler) liborc-0_4-0 (the libs) orc-devel (header and linklib, and devel-docs) with Requires: orc = %{version}
That was the 'obvious' idea but orc without the headers is as useless as gcc without it's standard headers. Additionally, the orc package contains only /usr/bin/orcc in this case which sounds like a huge overhead. For it to be useful you'd have to Require the -devel package from orc directly... thus the solution provided by Darix is just perfect for this package. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Dominique Leuenberger
-
Marcus Rueckert
-
oc2pus@arcor.de