diff --git a/rc.changes b/rc.changes index 76087d1..0001dc9 100644 --- a/rc.changes +++ b/rc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 15 11:39:48 UTC 2025 - Matej Cepl + +- Remove libalternatives, the proper solution for unrelated + packages providing the same name binary is to Conflict: or + rename. + ------------------------------------------------------------------- Wed Jan 8 13:41:36 UTC 2025 - Matej Cepl diff --git a/rc.spec b/rc.spec index 463ea13..501af54 100644 --- a/rc.spec +++ b/rc.spec @@ -31,11 +31,11 @@ BuildRequires: hare BuildRequires: madeline BuildRequires: scdoc BuildRequires: zstd -BuildRequires: alts # For testing BuildRequires: bc # End testing -Requires: alts +# Because it conflicts with /usr/bin/rc +Conflicts: rtags License: GPL-3.0-only %description @@ -55,14 +55,7 @@ https://en.wikipedia.org/wiki/Rc. %install # Shells should go to /bin %make_install PREFIX="%{_prefix}" -mv %{buildroot}%{_bindir}/%{name}{,-shell} -# libalternatives -ln -sf %{_bindir}/alts %{buildroot}%{_bindir}/%{name} -mkdir -p %{buildroot}%{_datadir}/libalternatives/%{name} -cat > %{buildroot}%{_datadir}/libalternatives/%{name}/5.conf <