Am 20.09.21 um 09:27 schrieb Matěj Cepl:
Dne 20. 09. 21 v 9:19 Stefan Schubert napsal(a):
One additional benefit of libalternatives is that it does not create entries in the /etc directory anymore. In the future the /etc directory will be used for entries/changes ONLY which have been done by the administrator and do not belong to packages or have been created by package installation.
I am not sure whether this is the right way to do (linking all binaries into one shared binary? Are we missing a need for some more fundamental change? Hm, currently I cannot see another solution for it. Any suggestions ? Does /usr/bin serve as well?), Yes, as far I have seen in the packages which I have updated.
This list includes a lot of python packages. Python packages are using nice RPM macros for handling update-alternatives stuff. Currently the fixes are made manually in the spec files and it will not be done by macros anymore.
??? Why you cannot push those %ifs (which I am not sure are correct, don't we want to have this working in SLE-15SP4 as well?) to our macros?
Now I will patch the alternatives macros or will write new one in order to simplify it again.
Looking forward to your pull request on python-rpm-macros then. Ah, I have a reviewer, thank you ! :-)
Greetings Stefan -- ******************************************************************************* Stefan Schubert e-mail: schubi@suse.de ------------------------------------------------------------------------------- SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nürnberg Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer