Overview

Request 919783 accepted

- Use libalternatives instead of update-alternatives.

Loading...

Danilo Spinella's avatar
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif

Shouldn't it be inverted? I.e. when suse_version is greater than 1500 (i.e. it's TW), then build with libalternatives.


Stefan Schubert's avatar

To be honest I have had the same thoughts while I have taken the code from Adam, but I have tested it so often in different packages. It makes the right "thing" :;-)


Danilo Spinella's avatar

Sorry for the delay. It looks good to me.

Just one thing. Should this package own the %{_datadir}/libalternatives directory?


Request History
Stefan Schubert's avatar

schubi2 created request

- Use libalternatives instead of update-alternatives.


Danilo Spinella's avatar

dspinella accepted request

Thank you!

openSUSE Build Service is sponsored by