Open nkadel opened 3 days ago
The source used by awx-rpm.spec is not the official zip... it's having some changes done before the spec build..
This is something that I would like to change, but haven't had the time to..
Then, please, provide under the GPLv3 license for AWX.
It's not closed in any way, it's generated by this script:
https://github.com/MrMEEE/awx-rpm-v2/blob/main/scripts/generate-awx-source
from the git repo...
If you setup the build environment, you should have everything needed..
The idea that one would need to set up a powerful and complex build environment first, before being able to build RPM packages, is a bit contrary to what RPMs are designed for. I'll take a look at the scripts to see if there is, perhaps, a way to bundle the relevant tarball without requiring root access to deploy content into /opt/.
the issue is that resolving building all the python dependencies isn't an easy task..
If you have an easier way, that does not include packaging a complete venv inside a RPM file, then I'm all ears..
I use local repositories in the build environment, with mock configured to use that repository. I do just this over at https://github.com/nkadel/ansiblerepo/ as an example. I'm looking at this for your suite of dependencies. I'll publish a fork if I can get it working, or mostly working, for your suite.
The hard part here is not building.. If I sent you my RPMs, then you could easily build them.. the work is determining and fixing dependencies..
Branch 24.6.1 lacks a usable "Source" entry for deps/awx-rpm.spec. I'd suggest:
I'd also update the syntax of the %patch lines, which are obsolete: