Skip to content

Commit

Permalink
Prepare for bin-sbin merge
Browse files Browse the repository at this point in the history
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

Add a Provides for the old names. We rely on filesystem(unmerged-sbin-symlinks)
feature to create the symlink for us.

This commit makes things compatible with the state before and after the merge.
  • Loading branch information
keszybz authored and jamacku committed Jun 17, 2024
1 parent 9b4eb04 commit 4d0d64e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions chkconfig.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ page), ntsysv configures the current runlevel (5 if you're using X).

%package -n alternatives
Summary: A tool to maintain symbolic links determining default commands
%if "%{_sbindir}" == "%{_bindir}"
Provides: /usr/sbin/alternatives
Provides: /usr/sbin/update-alternatives
Requires: filesystem(unmerged-sbin-symlinks)
%endif

%description -n alternatives
alternatives creates, removes, maintains and displays information about the
Expand Down

0 comments on commit 4d0d64e

Please sign in to comment.