Re: Question about File listeng in the spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Feb 2011 21:22:25 -0300
Sergio Belkin <sebelk@xxxxxxxxx> wrote:

> 2011/2/21 Jussi Lehtola <jussilehtola@xxxxxxxxxxxxxxxxx>:
> > On Mon, 21 Feb 2011 18:46:02 -0300
> > Sergio Belkin <sebelk@xxxxxxxxx> wrote:
> >> At
> >> http://fedoraproject.org/wiki/Packaging/ReviewGuidelines#Package_Review_Process
> >> 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@xxxxxxxxxxxxxxxxx
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux