Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cnf-rs for openSUSE:Factory checked 
in at 2023-09-21 22:13:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cnf-rs (Old)
 and      /work/SRC/openSUSE:Factory/.cnf-rs.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cnf-rs"

Thu Sep 21 22:13:16 2023 rev:3 rq:1112720 version:0.5.2~0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cnf-rs/cnf-rs.changes    2023-09-20 
13:28:32.393248821 +0200
+++ /work/SRC/openSUSE:Factory/.cnf-rs.new.1770/cnf-rs.changes  2023-09-21 
22:13:34.840249276 +0200
@@ -1,0 +2,7 @@
+Thu Sep 21 08:03:43 UTC 2023 - Michal Vyskocil <michal.vysko...@gmail.com>
+
+- install binary as /usr/bin/cnf
+  * openQA fail boo#1215546
+  * https://github.com/vyskocilm/cnf-rs/issues/21
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cnf-rs.spec ++++++
--- /var/tmp/diff_new_pack.JuM8j5/_old  2023-09-21 22:13:36.732317945 +0200
+++ /var/tmp/diff_new_pack.JuM8j5/_new  2023-09-21 22:13:36.732317945 +0200
@@ -137,9 +137,13 @@
 # using cargo_install (only supports bindir)
 %{cargo_install}
 
+# https://github.com/vyskocilm/cnf-rs/issues/21
+# the cnf-rs naming is unfortunate and as this replaces the old cout package, 
install it as cnf
+mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_bindir}/cnf
+
 # https://bugzilla.opensuse.org/show_bug.cgi?id=1215428#c2
 # fish, quite unfortunatelly, depends on a /usr/bin/command-not-found beeing 
present
-ln -sfr %{buildroot}/%{_bindir}/cnf-rs 
%{buildroot}/%{_bindir}/command-not-found
+ln -sfr %{buildroot}/%{_bindir}/cnf %{buildroot}/%{_bindir}/command-not-found
 
 # shell integrations
 install -D -m 0644 %{SOURCE10} 
%{buildroot}%{_sysconfdir}/bash_command_not_found
@@ -161,7 +165,7 @@
 %files
 %license LICENSE
 %doc README.md
-%attr(0755,root,root) %{_bindir}/cnf-rs
+%attr(0755,root,root) %{_bindir}/cnf
 %{_bindir}/command-not-found
 %{_mandir}/man1/cnf-rs*
 


++++++ command_not_found.bash ++++++
--- /var/tmp/diff_new_pack.JuM8j5/_old  2023-09-21 22:13:36.820321139 +0200
+++ /var/tmp/diff_new_pack.JuM8j5/_new  2023-09-21 22:13:36.844322010 +0200
@@ -5,7 +5,7 @@
     #FIXME: locales
     #export TEXTDOMAINDIR=/usr/share/locale
     #export TEXTDOMAIN=command-not-found
-    local cnf_bin=${COMMAND_NOT_FOUND_BIN:-/usr/bin/cnf-rs}
+    local cnf_bin=${COMMAND_NOT_FOUND_BIN:-/usr/bin/cnf}
 
     local cmd state rest
     local -i pid ppid pgrp session tty_nr tpgid

++++++ command_not_found.zsh ++++++
--- /var/tmp/diff_new_pack.JuM8j5/_old  2023-09-21 22:13:36.864322736 +0200
+++ /var/tmp/diff_new_pack.JuM8j5/_new  2023-09-21 22:13:36.868322881 +0200
@@ -5,11 +5,11 @@
 #  - one to be generic command_not_found_handler() and to be hooked
 #  - one to be available when command_not_found_handler() is redefined
 function command_not_found_handler cnf_handler {
-    if [ -x /usr/bin/cnf-rs ]; then
+    if [ -x /usr/bin/cnf ]; then
         # take first parameter and remove quotes if there were any so
         # $ 'foo'
         # will search for foo
-        /usr/bin/cnf-rs "${(Q)1}"
+        /usr/bin/cnf "${(Q)1}"
     fi
 }
 

Reply via email to