Stephan Kulow wrote:
On 08/08/2018 02:35 PM, Ludwig Nussel wrote:
Adrian Schröter wrote:
I read on the wiki that you look for some solution how to avoid additional build time due to tar ball recompression. [...] Have a look in the example here, you find this also switchable via build_tar_ball rpm macro:
https://build.opensuse.org/package/show/science:unstable/FreeCAD
It would make sense for sure nowadays to make the build process smarter wrt dealing with distributed scms. Indeed packing a git tree in a tar, just to extract it for building and then compress it again into a src.rpm adds extra steps. Not just for the cpu but also for the packager who has to figure out how to create a tar from git. Ie in case of OBS needs to learn about the _service extra mechanism. The FreeCAD example doesn't seem to make that any easier.
As packager I'd want to specify
Name: FreeCAD Version: 0.18 Source: https://github.com/FreeCAD/FreeCAD.git
That's it basically. All the rest should be automatic. Can we get to that somehow without extra config files?
OK, that's a neat attempt to change the topic - but we were talking about compression of .src.rpm.
Oh really? I thought everyone picks a subtopic for their part of the thread. And you jumped on the GPL compliance :-)
No matter how you got there: at the end the sources need to be in the src.rpm.
I agree but that part could hopefully be done in a smarter way than obscpio.
I just don't think they need to be compressed (or only very lightly)
Sure, if the content is already compressed. If it's an uncompressed directory tree like a git checkout, compressing that one way or another would still make sense. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org