Accepting request 336811 from home:wolfi323:test

Raise priority for update-alternatives on Tumbleweed and Leap, to make the KF5 version of kdesu the default one

OBS-URL: https://build.opensuse.org/request/show/336811
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kde-cli-tools5?expand=0&rev=71
This commit is contained in:
Hrvoje Senjan 2015-10-06 17:04:51 +00:00 committed by Git OBS Bridge
parent 3591a1b632
commit cefaa5f200
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 6 16:47:44 UTC 2015 - wbauer@tmo.at
- Raise priority for update-alternatives on Tumbleweed and Leap, to
make the KF5 version of kdesu the default one
-------------------------------------------------------------------
Sun Oct 4 10:43:13 UTC 2015 - hrvoje.senjan@gmail.com

View File

@ -78,9 +78,15 @@ Additional CLI tools for KDE applications and workspaces.
%post
/sbin/ldconfig
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse}
%{_sbindir}/update-alternatives \
--install %{_kf5_bindir}/kdesu kdesu %{_kf5_libexecdir}/kdesu 25 \
--slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man}
%else
%{_sbindir}/update-alternatives \
--install %{_kf5_bindir}/kdesu kdesu %{_kf5_libexecdir}/kdesu 15 \
--slave %{_kf5_mandir}/man1/kdesu.1.gz kdesu.1%{?ext_man} %{_kf5_mandir}/man1/kdesu-5.1%{?ext_man}
%endif
%postun
/sbin/ldconfig