MrMEEE / awx-rpm-versions

Versions of AWX-RPM
0 stars 2 forks source link

dps/awx-rpm.spec lacks valid Source0 entry #2

Open nkadel opened 3 days ago

nkadel commented 3 days ago

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:

MrMEEE commented 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..

nkadel commented 3 days ago

Then, please, provide under the GPLv3 license for AWX.

MrMEEE commented 3 days ago

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...

MrMEEE commented 3 days ago

If you setup the build environment, you should have everything needed..

https://github.com/MrMEEE/awx-rpm-v2/blob/main/docs/build

nkadel commented 3 days ago

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/.

MrMEEE commented 2 days ago

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..

nkadel commented 2 days ago

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.

MrMEEE commented 2 days ago

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..