Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cockpit for openSUSE:Factory checked 
in at 2026-02-18 17:05:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cockpit (Old)
 and      /work/SRC/openSUSE:Factory/.cockpit.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cockpit"

Wed Feb 18 17:05:12 2026 rev:72 rq:1333523 version:356

Changes:
--------
--- /work/SRC/openSUSE:Factory/cockpit/cockpit.changes  2026-02-06 
21:30:25.390406910 +0100
+++ /work/SRC/openSUSE:Factory/.cockpit.new.1977/cockpit.changes        
2026-02-18 17:05:53.662883851 +0100
@@ -1,0 +2,15 @@
+Wed Feb 11 16:52:06 UTC 2026 - Miika Alikirri <[email protected]>
+
+- Fix esbuild for ppc64le bsc#1257698
+  * Include esbuild-ppc64.patch
+  * Update update_version.sh
+- Update to 356
+  * changes since 354
+    - 356
+      * systemd: Allow editing timers created by Cockpit
+      * Convert license headers to SPDX format
+    - 355
+      * ws: Remove obsolete pam_cockpit_cert module
+      * shell: add StartTransientUnit as a sudo alternative
+
+-------------------------------------------------------------------

Old:
----
  cockpit-354.tar.gz
  update_version.sh

New:
----
  cockpit-356.tar.gz
  esbuild-ppc64.patch

----------(New B)----------
  New:- Fix esbuild for ppc64le bsc#1257698
  * Include esbuild-ppc64.patch
  * Update update_version.sh
----------(New E)----------

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

Other differences:
------------------
++++++ cockpit.spec ++++++
--- /var/tmp/diff_new_pack.LintLn/_old  2026-02-18 17:06:17.471874806 +0100
+++ /var/tmp/diff_new_pack.LintLn/_new  2026-02-18 17:06:17.475874972 +0100
@@ -1,18 +1,6 @@
 #
 # Copyright (C) 2014-2020 Red Hat, Inc.
-#
-# Cockpit is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as published by
-# the Free Software Foundation; either version 2.1 of the License, or
-# (at your option) any later version.
-#
-# Cockpit is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with Cockpit; If not, see <https://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: LGPL-2.1-or-later
 #
 
 #
@@ -53,17 +41,22 @@
 %endif
 
 # distributions which ship nodejs-esbuild can rebuild the bundle during 
package build
+# allow override from command line (e.g. for development builds)
 %if 0%{?fedora} >= 42
-%define rebuild_bundle 1
+%{!?rebuild_bundle: %define rebuild_bundle 1}
+%endif
+
+# to avoid using asciidoc-py in RHEL and CentOS we use the prebuilt docs
+%if 0%{?rhel}
+%define bundle_docs 1
 %endif
 
 Name:           cockpit
 Summary:        Web Console for Linux servers
-
-License:        LGPL-2.1-or-later
+License:        LGPL-2.1-or-later AND GPL-3.0-or-later AND MIT AND 
CC-BY-SA-3.0 AND BSD-3-Clause
 URL:            https://cockpit-project.org/
 
-Version:        354
+Version:        356
 Release:        0
 Source0:        cockpit-%{version}.tar.gz
 Source2:        cockpit-rpmlintrc
@@ -80,6 +73,7 @@
 Patch3:         suse-microos-branding.patch
 Patch4:         css-overrides.patch
 Patch5:         storage-btrfs.patch
+Patch6:         esbuild-ppc64.patch
 # SLE Micro specific patches
 Patch101:       hide-pcp.patch
 Patch102:       0002-selinux-temporary-remove-setroubleshoot-section.patch
@@ -162,7 +156,7 @@
 BuildRequires: glib-networking
 BuildRequires: sed
 
-BuildRequires: glib2-devel >= 2.50.0
+BuildRequires: glib2-devel >= 2.68.0
 # this is for runtimedir in the tls proxy ace21c8879
 BuildRequires: pkgconfig(libsystemd) >= 235
 %if 0%{?suse_version}
@@ -178,17 +172,13 @@
 BuildRequires: krb5-server
 BuildRequires: gdb
 
-%if %{defined rebuild_bundle}
+%if 0%{?rebuild_bundle}
 BuildRequires: nodejs
+BuildRequires: %{_bindir}/node
 BuildRequires: nodejs-esbuild
 %endif
 
-# For documentation
-%if 0%{?rhel} || 0%{?centos}
-# Only has legacy asciidoc-py and not asciidoctor.
-# asciidoc-py includes a2x package which can generate man-pages.
-BuildRequires: asciidoc
-%else
+%if !%{defined bundle_docs}
 %if 0%{?suse_version}
 BuildRequires: rubygem(asciidoctor)
 %else
@@ -217,7 +207,7 @@
 Recommends: (cockpit-storaged if udisks2)
 Recommends: (cockpit-packagekit if (dnf or zypper))
 %if 0%{?suse_version} == 0
-Recommends: (dnf5-daemonserver if dnf5)
+Recommends: (dnf5daemon-server if dnf5)
 %endif
 Recommends: (cockpit-firewalld if firewalld)
 
@@ -242,6 +232,10 @@
 
 %prep
 %setup -q -n cockpit-%{version} -a 3
+%if 0%{?rebuild_bundle}
+%setup -q -D -T -a 1 -n cockpit-%{version}
+%endif
+
 %patch -P 1 -p1
 %patch -P 2 -p1
 
@@ -253,6 +247,7 @@
 
 %patch -P 4 -p1
 %patch -P 5 -p1
+%patch -P 6 -p1
 
 %patch -P 101 -p1
 %patch -P 106 -p1
@@ -295,6 +290,15 @@
 echo "{}" > package-lock.json
 
 %build
+%if 0%{?rebuild_bundle}
+rm -rf dist
+# HACK: node module packaging is currently broken in Fedora ≤ 43, should be in
+# common location, not major version specific one
+NODE_ENV=production NODE_PATH=/usr/lib/node_modules:$(echo 
/usr/lib/node_modules_*) ./build.js
+%else
+# Use pre-built bundle on distributions without nodejs-esbuild
+%endif
+
 find node_modules -name \*.node -print -delete
 touch node_modules/.stamp
 
@@ -313,6 +317,9 @@
 %if %{enable_multihost}
     --enable-multihost \
 %endif
+%if %{defined bundle_docs}
+    --disable-doc \
+%endif
 
 %if 0%{?with_selinux}
 make -f /usr/share/selinux/devel/Makefile cockpit.pp
@@ -339,7 +346,21 @@
 mkdir -p $RPM_BUILD_ROOT%{pamconfdir}
 install -p -m 644 %{pamconfig} $RPM_BUILD_ROOT%{pamconfdir}/cockpit
 rm -f %{buildroot}/%{_libdir}/cockpit/*.so
-install -D -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/cockpit/
+install -D -p -m 644 AUTHORS README.md %{buildroot}%{_docdir}/cockpit/
+
+# We install the upstream pre-built docs as we can't build them
+%if %{defined bundle_docs}
+%define docbundledir %{_builddir}/%{name}-%{version}/doc/output/html
+install -d %{buildroot}%{_docdir}/cockpit/guide
+cp -rp %{docbundledir}/* %{buildroot}%{_docdir}/cockpit/guide/
+# Install pre-built man pages
+%define manbundledir %{_builddir}/%{name}-%{version}/doc/output/man
+for section in 1 5 8; do
+  for manpage in %{manbundledir}/*.${section}; do
+    install -D -p -m 644 "$manpage" 
%{buildroot}%{_mandir}/man${section}/$(basename "$manpage")
+  done
+done
+%endif
 
 # selinux
 %if 0%{?with_selinux}
@@ -499,9 +520,8 @@
 troubleshooting, interactive command-line sessions, and more.
 
 %files
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %{_docdir}/cockpit/AUTHORS
-%{_docdir}/cockpit/COPYING
 %{_docdir}/cockpit/README.md
 %{_datadir}/metainfo/org.cockpit_project.cockpit.appdata.xml
 %dir %{_datadir}/icons/hicolor/128x128/apps
@@ -520,7 +540,7 @@
 system on behalf of the web based user interface.
 
 %files bridge -f base.list
-%license COPYING
+%license LICENSES/GPL-3.0.txt
 %doc %{_mandir}/man1/cockpit-bridge.1.gz
 %{_bindir}/cockpit-bridge
 %{_libexecdir}/cockpit-askpass
@@ -536,9 +556,8 @@
 embed or extend Cockpit.
 
 %files doc
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %exclude %{_docdir}/cockpit/AUTHORS
-%exclude %{_docdir}/cockpit/COPYING
 %exclude %{_docdir}/cockpit/README.md
 %{_docdir}/cockpit
 
@@ -582,14 +601,13 @@
 This package contains the Cockpit shell and system configuration interfaces.
 
 %files system -f system.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %dir %{_datadir}/cockpit/shell/images
 
 %package ws
 Summary: Cockpit Web Service
-Requires: glib-networking
 Requires: openssl
-Requires: glib2 >= 2.50.0
+Requires: glib2 >= 2.68.0
 %if 0%{?with_selinux}
 Requires: (%{name}-ws-selinux = %{version}-%{release} if selinux-policy-base)
 Requires: (selinux-policy >= %{_selinux_policy_version} if 
selinux-policy-%{selinuxtype})
@@ -628,7 +646,7 @@
 authentication via sssd/FreeIPA.
 
 %files ws -f static.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %doc %{_mandir}/man1/cockpit-desktop.1.gz
 %doc %{_mandir}/man5/cockpit.conf.5.gz
 %doc %{_mandir}/man8/cockpit-ws.8.gz
@@ -665,7 +683,6 @@
 %{_unitdir}/system-cockpithttps.slice
 %{_prefix}/%{__lib}/tmpfiles.d/cockpit-ws.conf
 %{pamdir}/pam_ssh_add.so
-%{pamdir}/pam_cockpit_cert.so
 %{_libexecdir}/cockpit-ws
 %{_libexecdir}/cockpit-wsinstance-factory
 %{_libexecdir}/cockpit-tls
@@ -734,14 +751,6 @@
 # firewalld only partially picks up changes to its services files without this
 test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
 
-# check for deprecated PAM config
-if test -f %{_sysconfdir}/pam.d/cockpit &&  grep -q pam_cockpit_cert 
%{_sysconfdir}/pam.d/cockpit; then
-    echo '**** WARNING:'
-    echo '**** WARNING: pam_cockpit_cert is a no-op and will be removed in a'
-    echo '**** WARNING: future release; remove it from your 
/etc/pam.d/cockpit.'
-    echo '**** WARNING:'
-fi
-
 # remove obsolete system user on upgrade (replaced with DynamicUser in version 
330)
 if getent passwd cockpit-wsinstance >/dev/null; then
     userdel cockpit-wsinstance
@@ -780,7 +789,7 @@
 SELinux policy module for the cockpit-ws package.
 
 %files ws-selinux
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
 %{_mandir}/man8/%{name}_session_selinux.8cockpit.*
 %{_mandir}/man8/%{name}_ws_selinux.8cockpit.*
@@ -816,7 +825,7 @@
 The Cockpit component for configuring kernel crash dumping.
 
 %files kdump -f kdump.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %{_datadir}/metainfo/org.cockpit_project.cockpit_kdump.metainfo.xml
 
 # sosreport is not supported on opensuse yet
@@ -833,7 +842,7 @@
 sosreport tool.
 
 %files sosreport -f sosreport.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %{_datadir}/metainfo/org.cockpit_project.cockpit_sosreport.metainfo.xml
 %{_datadir}/icons/hicolor/64x64/apps/cockpit-sosreport.png
 %endif
@@ -852,7 +861,7 @@
 The Cockpit component for managing networking.  This package uses 
NetworkManager.
 
 %files networkmanager -f networkmanager.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %{_datadir}/metainfo/org.cockpit_project.cockpit_networkmanager.metainfo.xml
 
 %endif
@@ -874,7 +883,7 @@
 utility setroubleshoot to diagnose and resolve SELinux issues.
 
 %files selinux -f selinux.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %{_datadir}/metainfo/org.cockpit_project.cockpit_selinux.metainfo.xml
 
 %endif
@@ -905,7 +914,7 @@
 The Cockpit component for managing storage.  This package uses udisks.
 
 %files -n cockpit-storaged -f storaged.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 %{_datadir}/metainfo/org.cockpit_project.cockpit_storaged.metainfo.xml
 
 %post storaged
@@ -938,7 +947,7 @@
 via PackageKit.
 
 %files -n cockpit-packagekit -f packagekit.list
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 
 %package firewalld
 Summary: Allows Cockpit access through the firewall
@@ -950,7 +959,7 @@
 This package allows Cockpit access through the firewall
 
 %files firewalld
-%license COPYING
+%license LICENSES/LGPL-2.1.txt
 
 %postun firewalld
 if test -f %{_bindir}/firewall-cmd && firewall-cmd --state &>/dev/null; then

++++++ 0001-cockpit-overview-support-SUSE_SUPPORT_PRODUCT-keys.patch ++++++
--- /var/tmp/diff_new_pack.LintLn/_old  2026-02-18 17:06:17.527877137 +0100
+++ /var/tmp/diff_new_pack.LintLn/_new  2026-02-18 17:06:17.535877470 +0100
@@ -48,8 +48,8 @@
                          { show_superuser && <SuperuserIndicator 
proxy={this.superuser} /> }
 diff --git a/src/common/cockpitsystem.c b/src/common/cockpitsystem.c
 index 83e2965f7..73716fff7 100644
---- a/src/common/cockpitsystem.c
-+++ b/src/common/cockpitsystem.c
+--- a/src/ws/cockpitsystem.c
++++ b/src/ws/cockpitsystem.c
 @@ -107,6 +107,12 @@ cockpit_system_load_os_release (void)
          }
      }

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.LintLn/_old  2026-02-18 17:06:17.643881965 +0100
+++ /var/tmp/diff_new_pack.LintLn/_new  2026-02-18 17:06:17.647882131 +0100
@@ -1,6 +1,6 @@
-mtime: 1770106027
-commit: 430b5290368b4866200dd94588fb4491e848c2e2f954858b52441a5cd108dab1
+mtime: 1771319944
+commit: 57f8f2e6daa98c696e4bc6523afde59616d492b9194ff9375aded8a642643a64
 url: https://src.opensuse.org/cockpit/cockpit.git
-revision: 430b5290368b4866200dd94588fb4491e848c2e2f954858b52441a5cd108dab1
+revision: 57f8f2e6daa98c696e4bc6523afde59616d492b9194ff9375aded8a642643a64
 projectscmsync: https://src.opensuse.org/cockpit/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/update_version.sh new/update_version.sh
--- old/update_version.sh       1970-01-01 01:00:00.000000000 +0100
+++ new/update_version.sh       2026-02-17 11:29:37.000000000 +0100
@@ -0,0 +1,121 @@
+#!/usr/bin/bash
+
+set -e
+
+curVersion=$(grep Version: cockpit.spec | sed -e 
's,^\(\s*Version:\s*\)\(.*\)\s*$,\2,')
+
+if [[ ! "$curVersion" =~ ^[0-9]+(.[0-9]+)?$ ]]; then
+  echo "Error: curVersion is not a valid integer"
+  exit 1
+fi
+
+if [[ "$curVersion" =~ '.' ]]; then
+    curMajor=$(echo ${curVersion} | cut -d'.' -f1)
+    curMinor=$(echo ${curVersion} | cut -d'.' -f2)
+else
+    curMajor=$curVersion
+    curMinor='0'
+fi
+
+###
+### Fetch latest soruces
+###
+
+# fetch latest theme
+if [ ! -d cockpit-suse-theme ]; then
+    git clone https://github.com/dgdavid/cockpit-suse-theme.git
+else
+       git -C cockpit-suse-theme pull --ff-only
+fi
+git -C cockpit-suse-theme archive --format=tar --prefix=cockpit-suse-theme/ -o 
../cockpit-suse-theme.tar HEAD
+
+# fetch latest cockpit
+if [ ! -d cockpit ]; then
+       git clone https://github.com/cockpit-project/cockpit.git cockpit
+else
+    git -C cockpit checkout main
+       git -C cockpit fetch
+fi
+
+newVersion=$(git -C cockpit tag | grep '^[0-9.]\+$' | sort -rn | head -1)
+
+if [[ ! "$newVersion" =~ ^[0-9]+(.[0-9]+)?$ ]]; then
+  echo "Error: newVersion cannot be determined"
+  exit 1
+fi
+
+if [[ "$newVersion" =~ '.' ]]; then
+    newMajor=$(echo ${newVersion} | cut -d'.' -f1)
+    newMinor=$(echo ${newVersion} | cut -d'.' -f2)
+else
+    newMajor=$newVersion
+    newMinor='0'
+fi
+
+if [ "$curMajor" -gt "$newMajor" ]; then
+       echo "Nothing to do."
+       exit 0
+elif [[ "$curMajor" -eq "$newMajor"  && "$curMinor" -ge "$newMinor" ]]; then
+       echo "Nothing to do."
+       exit 0
+fi
+
+###
+### UPDATE
+###
+git -C cockpit checkout $newVersion
+pushd $PWD
+cd cockpit
+npm install --include optional
+rm -rf node_modules
+popd
+cp "cockpit/package-lock.json" .
+# update node_modules
+osc service mr
+rm --verbose *.tgz || true
+
+# # initialize all submodules
+git -C cockpit submodule update --init --depth 1
+# remove node_modules and tests
+git -C cockpit submodule deinit node_modules test/reference
+
+# update tarballs
+CockpitPath="cockpit-$newVersion/"
+MainTarball="cockpit.tar"
+D=$PWD
+
+git -C cockpit archive --format=tar --prefix=$CockpitPath -o "$D/$MainTarball" 
$newVersion
+
+# append each initialized submodule
+git -C cockpit submodule foreach "n=\$(basename \$sm_path)
+git archive --format=tar --prefix=${CockpitPath}\${sm_path}/ -o \"$D/\$n.tar\" 
HEAD
+"
+SubmoduleTarballs=$(git -C cockpit submodule foreach --quiet "echo \$(basename 
\$sm_path.tar)")
+
+# need to unpack and pack again, because OBS can't deal with concatenated 
tarballs :(
+rm -f "cockpit-$newVersion.tar"
+rm -rf cockpit-$newVersion/
+for i in $MainTarball $SubmoduleTarballs; do
+       tar xf $i
+done
+rm $MainTarball $SubmoduleTarballs
+tar zcf cockpit-$newVersion.tar.gz cockpit-$newVersion/
+
+echo "Archive created: cockpit-$newVersion.tar"
+
+# Update spec file
+git -C cockpit remote show suse || git -C cockpit remote add suse 
[email protected]:openSUSE/cockpit.git
+git -C cockpit fetch suse opensuse-$curVersion
+git -C cockpit checkout -b opensuse-$newVersion suse/opensuse-$curVersion
+git -C cockpit rebase -i $newVersion || true
+
+echo "Don't forget to:"
+echo "  1. finish rebase"
+echo "  2. push new branch"
+echo "  3. update cockpit.spec, and"
+echo "  4. set new default branch on GitHub"
+
+# Updating version in spec file
+sed -i -e "s,^\(\s*Version:\s*\)\(.*\)\s*$,\1${newVersion}," 
cockpit/tools/cockpit.spec
+git rm cockpit-$curVersion.tar.gz
+git add cockpit-$newVersion.tar.gz

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-02-17 11:29:37.000000000 +0100
@@ -0,0 +1,3 @@
+.osc
+node_modules.sums
+_build*
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/update_version.sh new/update_version.sh
--- old/update_version.sh       1970-01-01 01:00:00.000000000 +0100
+++ new/update_version.sh       2026-02-17 11:29:37.000000000 +0100
@@ -0,0 +1,121 @@
+#!/usr/bin/bash
+
+set -e
+
+curVersion=$(grep Version: cockpit.spec | sed -e 
's,^\(\s*Version:\s*\)\(.*\)\s*$,\2,')
+
+if [[ ! "$curVersion" =~ ^[0-9]+(.[0-9]+)?$ ]]; then
+  echo "Error: curVersion is not a valid integer"
+  exit 1
+fi
+
+if [[ "$curVersion" =~ '.' ]]; then
+    curMajor=$(echo ${curVersion} | cut -d'.' -f1)
+    curMinor=$(echo ${curVersion} | cut -d'.' -f2)
+else
+    curMajor=$curVersion
+    curMinor='0'
+fi
+
+###
+### Fetch latest soruces
+###
+
+# fetch latest theme
+if [ ! -d cockpit-suse-theme ]; then
+    git clone https://github.com/dgdavid/cockpit-suse-theme.git
+else
+       git -C cockpit-suse-theme pull --ff-only
+fi
+git -C cockpit-suse-theme archive --format=tar --prefix=cockpit-suse-theme/ -o 
../cockpit-suse-theme.tar HEAD
+
+# fetch latest cockpit
+if [ ! -d cockpit ]; then
+       git clone https://github.com/cockpit-project/cockpit.git cockpit
+else
+    git -C cockpit checkout main
+       git -C cockpit fetch
+fi
+
+newVersion=$(git -C cockpit tag | grep '^[0-9.]\+$' | sort -rn | head -1)
+
+if [[ ! "$newVersion" =~ ^[0-9]+(.[0-9]+)?$ ]]; then
+  echo "Error: newVersion cannot be determined"
+  exit 1
+fi
+
+if [[ "$newVersion" =~ '.' ]]; then
+    newMajor=$(echo ${newVersion} | cut -d'.' -f1)
+    newMinor=$(echo ${newVersion} | cut -d'.' -f2)
+else
+    newMajor=$newVersion
+    newMinor='0'
+fi
+
+if [ "$curMajor" -gt "$newMajor" ]; then
+       echo "Nothing to do."
+       exit 0
+elif [[ "$curMajor" -eq "$newMajor"  && "$curMinor" -ge "$newMinor" ]]; then
+       echo "Nothing to do."
+       exit 0
+fi
+
+###
+### UPDATE
+###
+git -C cockpit checkout $newVersion
+pushd $PWD
+cd cockpit
+npm install --include optional
+rm -rf node_modules
+popd
+cp "cockpit/package-lock.json" .
+# update node_modules
+osc service mr
+rm --verbose *.tgz || true
+
+# # initialize all submodules
+git -C cockpit submodule update --init --depth 1
+# remove node_modules and tests
+git -C cockpit submodule deinit node_modules test/reference
+
+# update tarballs
+CockpitPath="cockpit-$newVersion/"
+MainTarball="cockpit.tar"
+D=$PWD
+
+git -C cockpit archive --format=tar --prefix=$CockpitPath -o "$D/$MainTarball" 
$newVersion
+
+# append each initialized submodule
+git -C cockpit submodule foreach "n=\$(basename \$sm_path)
+git archive --format=tar --prefix=${CockpitPath}\${sm_path}/ -o \"$D/\$n.tar\" 
HEAD
+"
+SubmoduleTarballs=$(git -C cockpit submodule foreach --quiet "echo \$(basename 
\$sm_path.tar)")
+
+# need to unpack and pack again, because OBS can't deal with concatenated 
tarballs :(
+rm -f "cockpit-$newVersion.tar"
+rm -rf cockpit-$newVersion/
+for i in $MainTarball $SubmoduleTarballs; do
+       tar xf $i
+done
+rm $MainTarball $SubmoduleTarballs
+tar zcf cockpit-$newVersion.tar.gz cockpit-$newVersion/
+
+echo "Archive created: cockpit-$newVersion.tar"
+
+# Update spec file
+git -C cockpit remote show suse || git -C cockpit remote add suse 
[email protected]:openSUSE/cockpit.git
+git -C cockpit fetch suse opensuse-$curVersion
+git -C cockpit checkout -b opensuse-$newVersion suse/opensuse-$curVersion
+git -C cockpit rebase -i $newVersion || true
+
+echo "Don't forget to:"
+echo "  1. finish rebase"
+echo "  2. push new branch"
+echo "  3. update cockpit.spec, and"
+echo "  4. set new default branch on GitHub"
+
+# Updating version in spec file
+sed -i -e "s,^\(\s*Version:\s*\)\(.*\)\s*$,\1${newVersion}," 
cockpit/tools/cockpit.spec
+git rm cockpit-$curVersion.tar.gz
+git add cockpit-$newVersion.tar.gz

++++++ cockpit-354.tar.gz -> cockpit-356.tar.gz ++++++
/work/SRC/openSUSE:Factory/cockpit/cockpit-354.tar.gz 
/work/SRC/openSUSE:Factory/.cockpit.new.1977/cockpit-356.tar.gz differ: char 
23, line 1

++++++ esbuild-ppc64.patch ++++++
>From 22fe8bdedc8bb40cf2c9857fa73eb94985a1f664 Mon Sep 17 00:00:00 2001
From: Alice Brooks <[email protected]>
Date: Mon Feb 16 12:06:57 2026 +0000
Subject: Never use wasm

---
 build.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.js b/build.js
index 49fc9900a..5e57ebc62 100755
--- a/build.js
+++ b/build.js
@@ -10,7 +10,7 @@ import process from 'node:process';
 import { getFiles, getTestFiles, all_subdirs } from './files.js';
 
 const production = process.env.NODE_ENV === 'production';
-const useWasm = os.arch() != 'x64';
+const useWasm = false;
 
 // ensure node_modules is present and up to date
 child_process.spawnSync('tools/node-modules', ['make_package_lock_json'], { 
stdio: 'inherit' });
 [Don't use esbuild wasm on ppc64
-- 
2.52.0

++++++ hide-pcp.patch ++++++
--- /var/tmp/diff_new_pack.LintLn/_old  2026-02-18 17:06:18.007897116 +0100
+++ /var/tmp/diff_new_pack.LintLn/_new  2026-02-18 17:06:18.015897448 +0100
@@ -1,9 +1,7 @@
 diff --git a/pkg/metrics/metrics.jsx b/pkg/metrics/metrics.jsx
 index 80f1087..fda6049 100644
---- a/pkg/metrics/metrics.jsx
-+++ b/pkg/metrics/metrics.jsx
-@@ -17,7 +17,7 @@
-  * along with Cockpit; If not, see <https://www.gnu.org/licenses/>.
+@@ -3,7 +3,7 @@
+  * SPDX-License-Identifier: LGPL-2.1-or-later
   */
  
 -import React, { useState, createRef } from 'react';

++++++ node_modules.obscpio ++++++
/work/SRC/openSUSE:Factory/cockpit/node_modules.obscpio 
/work/SRC/openSUSE:Factory/.cockpit.new.1977/node_modules.obscpio differ: char 
60, line 1

++++++ node_modules.spec.inc ++++++
++++ 960 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cockpit/node_modules.spec.inc
++++ and /work/SRC/openSUSE:Factory/.cockpit.new.1977/node_modules.spec.inc

++++++ package-lock.json ++++++
++++ 2339 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cockpit/package-lock.json
++++ and /work/SRC/openSUSE:Factory/.cockpit.new.1977/package-lock.json

++++++ packagekit-single-install.patch ++++++
--- /var/tmp/diff_new_pack.LintLn/_old  2026-02-18 17:06:18.163903609 +0100
+++ /var/tmp/diff_new_pack.LintLn/_new  2026-02-18 17:06:18.167903775 +0100
@@ -21,16 +21,14 @@
 
 diff --git a/pkg/packagekit/updates.jsx b/pkg/packagekit/updates.jsx
 index 40fca0a..abc8c70 100644
---- a/pkg/packagekit/updates.jsx
-+++ b/pkg/packagekit/updates.jsx
-@@ -81,6 +81,7 @@ import { read_os_release } from "os-release.js";
+@@ -67,6 +67,7 @@ import { read_os_release } from "os-release.js";
  import callTracerScript from './callTracer.py';
  
  import "./updates.scss";
 +import { Checkbox } from '@patternfly/react-core';
  import { Truncate } from 
'@patternfly/react-core/dist/esm/components/Truncate/index.js';
  import { Severity } from '_internal/packagemanager-abstract';
- 
+ import { getPackageManager } from 'packagemanager';
 @@ -95,6 +96,7 @@ const UPDATES = {
      ALL: 0,
      SECURITY: 1,

Reply via email to