Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rtags for openSUSE:Factory checked 
in at 2026-09-19 22:22:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rtags (Old)
 and      /work/SRC/openSUSE:Factory/.rtags.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rtags"

Sat Sep 19 22:22:23 2026 rev:13 rq:1378985 version:2.46

Changes:
--------
--- /work/SRC/openSUSE:Factory/rtags/rtags.changes      2026-08-15 
22:41:45.002960090 +0200
+++ /work/SRC/openSUSE:Factory/.rtags.new.383539/rtags.changes  2026-09-19 
22:23:35.966752792 +0200
@@ -1,0 +2,6 @@
+Fri Sep 18 21:38:11 UTC 2026 - Matej Cepl <[email protected]>
+
+- Use libalternatives for /usr/bin/rc, with an alts dependency and
+  priority 20 configuration pointing to /usr/bin/rc-rtags.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rtags.spec ++++++
--- /var/tmp/diff_new_pack.SAjzSo/_old  2026-09-19 22:23:36.517775773 +0200
+++ /var/tmp/diff_new_pack.SAjzSo/_new  2026-09-19 22:23:36.518775815 +0200
@@ -36,6 +36,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(zlib)
+Requires:       alts
 
 %description
 Rtags is Clang based source file indexer supporting C/C++/Objective-C(++) code.
@@ -54,6 +55,14 @@
 
 %install
 %cmake_install
+# Keep the RTags client available directly as well as through libalternatives.
+mv %{buildroot}%{_bindir}/rc %{buildroot}%{_bindir}/rc-rtags
+ln -s alts %{buildroot}%{_bindir}/rc
+mkdir -p %{buildroot}%{_datadir}/libalternatives/rc
+cat > %{buildroot}%{_datadir}/libalternatives/rc/20.conf <<EOF
+binary=%{_bindir}/rc-rtags
+man=rc.7
+EOF
 mkdir -p %{buildroot}%{_sitedir} %{buildroot}%{_scriptdir}
 install -m 0755 -t %{buildroot}%{_scriptdir} bin/*.sh
 chmod 0755 %{buildroot}%{_bindir}/gcc-rtags-wrapper.sh
@@ -70,10 +79,12 @@
 %license LICENSE.txt
 %{_bindir}/rdm
 %{_bindir}/rc
+%{_bindir}/rc-rtags
 %{_bindir}/rp
 %{_bindir}/gcc-rtags-wrapper.sh
 %{_mandir}/man7/rc.7%{?ext_man}
 %{_mandir}/man7/rdm.7%{?ext_man}
 %{_sitedir}/rtags
 %{_scriptdir}
+%{_datadir}/libalternatives/rc
 

Reply via email to