On Tue, Apr 22, 2008 at 01:25:07PM -0400, Tom spot Callaway wrote:
On Tue, 2008-04-22 at 19:19 +0200, Patrice Dumas wrote:
> 1. Is it permitted to have a subpackage called
> mylib-static which holds what is generally in a devel subpackage, and
> Provides: mylib-devel = %{version}-%{release}
No.
I think that we shouldn't say too much in the guidelines, but maybe this
should be said, since currently there is a package that does that.
(I have filed the bug Bug 443649, package is uudeview).
> 2. Is it permitted to have the headers in
> devel and the static library in -static and have
> mylib-devel
> Requires: mylib-static = %{version}-%{release}
Yes. But you'd still need to have any packages which link against the
static libraries BuildRequire: mylib-static.
Indeed.
As a side note, I would have said the same (No for 1., Yes for 2.).
--
Pat