Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package toolbox for openSUSE:Factory checked 
in at 2021-11-18 10:33:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/toolbox (Old)
 and      /work/SRC/openSUSE:Factory/.toolbox.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "toolbox"

Thu Nov 18 10:33:06 2021 rev:16 rq:931744 version:2.2+git20210823.dd0fff8

Changes:
--------
--- /work/SRC/openSUSE:Factory/toolbox/toolbox.changes  2021-08-25 
20:57:13.765238292 +0200
+++ /work/SRC/openSUSE:Factory/.toolbox.new.1895/toolbox.changes        
2021-11-18 10:33:23.247882493 +0100
@@ -1,0 +2,7 @@
+Mon Nov  8 15:46:47 UTC 2021 - Ludwig Nussel <lnus...@suse.de>
+
+- Don't install config file in /etc in favor of a built-in default. Avoids
+  empty /etc pulling wrong image.
+- Handle Leap Micro (boo#1192474)
+
+-------------------------------------------------------------------

Old:
----
  toolboxrc.sle-micro

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

Other differences:
------------------
++++++ toolbox.spec ++++++
--- /var/tmp/diff_new_pack.Lvfz8m/_old  2021-11-18 10:33:24.099883286 +0100
+++ /var/tmp/diff_new_pack.Lvfz8m/_new  2021-11-18 10:33:24.099883286 +0100
@@ -24,7 +24,6 @@
 Group:          System/Management
 URL:            https://github.com/thkukuk/microos-toolbox
 Source:         microos-toolbox-%{version}.tar.xz
-Source1:        toolboxrc.sle-micro
 Requires:       podman
 BuildArch:      noarch
 
@@ -38,23 +37,25 @@
 
 %prep
 %setup -q -n microos-toolbox-%{version}
+%if 0%{?sle_version}
+%if !0%{?is_opensuse}
+sed -i -e 's,registry.opensuse.org,registry.suse.com,' toolbox
+sed -i -e 's,opensuse/toolbox,suse/sle-micro/5.1/toolbox,' toolbox
+%else
+sed -i -e 's,opensuse/toolbox,opensuse/leap-micro/5.1/toolbox,' toolbox
+%endif
+%endif
 
 %build
 
 %install
 mkdir -p %{buildroot}%{_bindir}
 install -m 755 toolbox %{buildroot}%{_bindir}/toolbox
-%if !0%{?is_opensuse}
-mkdir -p %{buildroot}%{_sysconfdir}
-install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/toolboxrc
-%endif
 
 %files
 %license LICENSE
 %doc README.md
 %{_bindir}/toolbox
-%if !0%{?is_opensuse}
-%config %{_sysconfdir}/toolboxrc
-%endif
+%ghost %config %{_sysconfdir}/toolboxrc
 
 %changelog

Reply via email to