[Fedora-packaging] Upstream sources that contain binaries

Matt Wringe mwringe at redhat.com
Fri Jan 19 15:38:27 UTC 2007


What is the proper way to handle upstream source tars that also contain
binary dependencies? This is very common with java packages. 

Sorry if this is already covered in the guidelines, I couldn't find this
case mentioned anywhere.

Should the binaries be removed from the source tar and create a new
binary-less tar. This method has been used in the past, resulting in new
tars with -RHCLEAN added to the end of their names.

Or should the tar just be left alone, and have the a script inside the
spec scrub out the binaries? 

According to the Review Guidelines:
"The sources used to build the package must match the upstream source,
as provided in the spec URL. Reviewers should use md5sum for this task."


Matt Wringe

More information about the Fedora-packaging mailing list