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. No matter how you got there: at the end the sources need to be in the src.rpm. I just don't think they need to be compressed (or only very lightly) Greetings, Stephan -- Johnson's law: Systems resemble the organizations that create them. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org