python3-lib389 is missing a dependency on the authconfig package as it requires the /usr/sbin/cacertdir_rehash binary this package provides (this is current Fedora 28). This blocks our testing when trying to extend FreeIPA for the python installer.
authconfig
/usr/sbin/cacertdir_rehash
Note that the code requiring the binary changed to require the /usr/bin/c_rehash binary provided by the openssl-perl package which still does not seem to appear as a requirement in the current spec.
/usr/bin/c_rehash
openssl-perl
Also - you should really refactor your code so that at least the repeating paths appear as constants instead of just copy-pasted strings.
python3-lib389-1.4.0.8-1
Actually, I see you added the dependency for openssl-perl in the rpm/389-ds-base.spec.in file but I'd expected it in src/lib389/python-lib389.spec instead since it's the actual requirement of the Python package.
rpm/389-ds-base.spec.in
src/lib389/python-lib389.spec
Metadata Update from @mhonek: - Issue assigned to mhonek
Actually, the src/lib389/python-lib389.spec is not used at all. The requirement is correctly present in upstream rpm/389-ds-base.spec.in, however the Fedora specfile has not been updated. I filed https://bugzilla.redhat.com/show_bug.cgi?id=1576858 to have this fixed in Fedora.
Metadata Update from @mhonek: - Custom field component adjusted to None - Custom field origin adjusted to None - Custom field reviewstatus adjusted to None - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1576858 - Custom field type adjusted to None - Custom field version adjusted to None
Should the python-lib389.spec file be removed, then?
python-lib389.spec
Yep, I filed ticket #49667 already.
Closing as this is to be resolved downstream only.
Metadata Update from @mhonek: - Issue status updated to: Closed (was: Open)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/2722
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix