On Mon, 21 Feb 2011 18:46:02 -0300 Sergio Belkin sebelk@gmail.com wrote:
At http://fedoraproject.org/wiki/Packaging/ReviewGuidelines#Package_Review_Proc... 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.
The -devel package usually only contains development headers and the .so symlink to the dynamic library, so in 99% of the cases you just make the -static package require the -devel package, which contains all of the necessary stuff.