Hi all,
We've recently decided to take another look at getting Beaker into Fedora.
Reading through the long list of packaging guidelines[1] that are required to be met,
I've come up with, what I believe to be, the problems that would need to be resolved
before Beaker would meet these guidelines. I list them below in no particular order.
Rpmlint: Some errors, moslty the fiddling we do with RPM_BUILD_ROOT
Changelog: No details about changes included in the release, only an upstream link.
The guidelines say, "Links to upstream changelogs can be entered for
those
who want additional information". So it seems a bit unclear to me as
to whether or not 'additional' is the operative word here or not.
Documentation: According to the guidelines, 'relevent' documentation in the
source must
be inclded marked with %doc. AFAICT, the only docs in the documentation
folder
that are included in the binary rpms are the man pages, are a recreation
of the releases page from the website. Although the guidelines do talk
about
irrelevant docs, and what they are, I'm not sure if the rest of our
docs fall
into that category.
PIE: We need to add instructions so that Beaker can make use of position-independent
execution.
Requiring Base Package: Subpackages do not have a versioned Requires of their base
package
Macros: We currently mix and match some macros (well, on only one case). Need to pick
one style.
Directory ownership: Not all directories that beaker creates are owned by it.
Web content: We keep some beaker content in /var/www rather than /usr/share.
Unit tests: Need to execute our unittests in the %check section
Provides/Obsoletes: Need to add versions to some of our Provides/Obsoletes entries
If anyone can point out any misunderstanding of the guidelines, or in general anything
else to add,
please do.
Cheers,
Raymond.
1
https://fedoraproject.org/wiki/Packaging:Guidelines