Make the Azure template work with both dnf4 and dnf5
Add a version test to call dnf builddep differently based on
release.
Remove --skip-broken when calling dnf builddep. This was an
old workaround from 2019. The option is no longer supported
with dnf5. First seen in F41. Drop in all calls.
dnf5 doesn't take a --spec option. It has to be passed a spec file.
So in that case copy freeipa.spec.in to freeipa.spec and call.
Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>