commands for use along with the srpm mock option, same as in mockbuild command.
Add arguments separator for mock rpm shell in load_nameverrel_mock to ensure the rpm args go to rpm and not mock.
Signed-off-by: Anton Bobrov abobrov@redhat.com
The reason for this change is that we need to be able to spin RHEL6 builds and thats currently challenging because some packages use obsolete rpm spec functionality no longer available on current versions like F42 etc. Another source of problems is RHEL6 outdated crypto that fails package installs when building rpms. So we need to be able to create custom mock configs and use them with rhpkg build/scratch-build/srpm for srpm generation under mock environment.
make test passes with Python 3.13 on F42. unfortunately i could not get make test to work with earlier Python versions on F42 tho, i think that would require staging a custom env with all the rights deps to work which i dont have. hopefully that is sufficient for this change.
pretty please pagure-ci rebuild
rebased onto e8d209e9d66b13ad6eef5e84f7620781b0bbb6d8
The change looks good.
Pull-Request has been merged by onosek
commands for use along with the srpm mock option,
same as in mockbuild command.
Add arguments separator for mock rpm shell in
load_nameverrel_mock to ensure the rpm args go to
rpm and not mock.
Signed-off-by: Anton Bobrov abobrov@redhat.com