Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bubblewrap for openSUSE:Factory 
checked in at 2025-09-17 16:37:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bubblewrap (Old)
 and      /work/SRC/openSUSE:Factory/.bubblewrap.new.27445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bubblewrap"

Wed Sep 17 16:37:10 2025 rev:22 rq:1305066 version:0.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bubblewrap/bubblewrap.changes    2024-11-25 
23:19:54.522692851 +0100
+++ /work/SRC/openSUSE:Factory/.bubblewrap.new.27445/bubblewrap.changes 
2025-09-17 16:37:16.177224266 +0200
@@ -1,0 +2,6 @@
+Wed Sep 10 13:34:52 UTC 2025 - Dominique Leuenberger <[email protected]>
+
+- Add a samplehelper to documentation that could be used by OBS
+  packages to avoid bubblewrap: nobwrap.helper
+
+-------------------------------------------------------------------
@@ -446 +452 @@
-Fri Oct 14 2016 Colin Walters <[email protected]> - 0.1.3-2
+Fri Oct 14 00:00:00 UTC 2016 - Colin Walters <[email protected]> - 0.1.3-2
@@ -451 +457 @@
-Mon Sep 12 2016 Kalev Lember <[email protected]> - 0.1.2-1
+Mon Sep 12 00:00:00 UTC 2016 - Kalev Lember <[email protected]> - 0.1.2-1
@@ -456 +462 @@
-Tue Jul 12 2016 Igor Gnatenko <[email protected]> - 0.1.1-2
+Tue Jul 12 00:00:00 UTC 2016 - Igor Gnatenko <[email protected]> - 0.1.1-2
@@ -461 +467 @@
-Fri Jul 08 2016 Colin Walters <[email protected]> - 0.1.1
+Fri Jul 08 00:00:00 UTC 2016 - Colin Walters <[email protected]> - 0.1.1

New:
----
  nobwrap.helper

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

Other differences:
------------------
++++++ bubblewrap.spec ++++++
--- /var/tmp/diff_new_pack.ZW7KY5/_old  2025-09-17 16:37:17.017259328 +0200
+++ /var/tmp/diff_new_pack.ZW7KY5/_new  2025-09-17 16:37:17.021259495 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bubblewrap
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2024 Andreas Stieger <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -29,6 +29,7 @@
 # https://www.pseudorandom.co.uk/2003/contact/
 # 0x4DE8FF2A63C7CC90, fingerprint: DA98 F25C 0871 C49A 59EA FF2C 4DE8 FF2A 
63C7 CC90
 Source2:        %{name}.keyring
+Source3:        nobwrap.helper
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  gcc
 BuildRequires:  git
@@ -54,6 +55,7 @@
 
 %prep
 %autosetup -p1 -n %{name}-%{version}
+cp %SOURCE3 .
 sed -i '1d' completions/bash/bwrap
 %if 0%{?suse_version} < 1500
 sed -i '1s,%{_bindir}/env bash,/bin/bash,' demos/bubblewrap-shell.sh
@@ -74,6 +76,7 @@
 %files
 %license COPYING
 %doc README.md demos
+%doc nobwrap.helper
 %dir %{_datadir}/bash-completion
 %dir %{_datadir}/bash-completion/completions
 %{_datadir}/bash-completion/completions/bwrap



++++++ nobwrap.helper ++++++
#!/bin/sh
# Fake bubblewrap for OBS tests: remove sandbox flags and run the real program

while [ $# -gt 0 ]; do
    case "$1" in
        # zero-argument flags
        --unshare-*|--die-with-parent|--clearenv)
            shift
            ;;
        # one-argument flags
        --chdir|--dev|--seccomp)
            shift 2
            ;;
        # two-argument flags
        --ro-bind|--ro-bind-try|--symlink)
            shift 3
            ;;
        # one-argument flags that act like “two elements” in bwrap
        --tmpfs)
            shift 2
            ;;
        # two-argument flags
        --setenv)
            shift 3
            ;;
        # anything else is the real program → exec
        *)
            exec "$@"
            ;;
    esac
done

echo "bwrap-wrapper: no command to exec" >&2
exit 1

Reply via email to