rpm-software-management / createrepo_c

C implementation of the createrepo.
http://rpm-software-management.github.io/createrepo_c
GNU General Public License v2.0
97 stars 93 forks source link

Fix building on EL9 #390

Closed dralley closed 11 months ago

dralley commented 11 months ago

The existing code is non-idiomatic, and as it so happens EL9 currently defines this macro unexpectedly despite not having the proper API, so we replace this with the idiomatic approach to make it actually work.

https://issues.redhat.com/browse/RHEL-12941 https://github.com/rpm-software-management/createrepo_c/pull/342/files#r1357391661

mcatanzaro commented 11 months ago

Looks good!

dralley commented 11 months ago

@kontura

oyvindkolbu commented 10 months ago

Tested this locally on EL9, Rocky 9 in my case and worked fine. Would be great with a new release with it. Thank you!