On Mon, 21 Feb 2011 21:22:25 -0300
Sergio Belkin <sebelk(a)gmail.com> wrote:
2011/2/21 Jussi Lehtola <jussilehtola(a)fedoraproject.org>:
> On Mon, 21 Feb 2011 18:46:02 -0300
> Sergio Belkin <sebelk(a)gmail.com> wrote:
>> At
>>
http://fedoraproject.org/wiki/Packaging/ReviewGuidelines#Package_Review_P...
>> it states
>>
>> "A Fedora package must not list a file more than once in the spec
>> file's %files listings. (Notable exception: license texts in
>> specific situations)."
>>
>> But what about a subpackage "static" (library)? What if there are
>> some basic documentation files common to both non-static and static
>> packages?
>
> Packaging static libraries is a bit unusual in Fedora, since it is
> better to link things dynamically; only few packages provide static
> libraries.
Thanks Jussi, So, definitely Can I disable the static subpackage with
no feeling of remorse :) ?
Yes - you can either disable the build of the static library altogether
(if the program uses autotools, adding --disable-static to the
configure flags should work), or remove it at the end of the %install
phase with
rm %{buildroot}%{_libdir}/*.a
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola(a)fedoraproject.org