Update to 330

Resolves: RHEL-60050
This commit is contained in:
Martin Pitt 2024-12-04 13:49:36 +01:00 committed by Martin Pitt
parent ec49d45f02
commit 923bd4d5b3
4 changed files with 44 additions and 28 deletions

4
.gitignore vendored
View File

@ -299,3 +299,7 @@
/cockpit-325.tar.xz /cockpit-325.tar.xz
/cockpit-326.tar.xz /cockpit-326.tar.xz
/cockpit-327.tar.xz /cockpit-327.tar.xz
/cockpit-328.tar.xz
/cockpit-329.tar.xz
/cockpit-329.1.tar.xz
/cockpit-330.tar.xz

View File

@ -1,3 +1,3 @@
This repository is maintained by packit. This repository is maintained by packit.
https://packit.dev/ https://packit.dev/
The file was generated using packit 0.102.1.post1.dev6+g64f7460b. The file was generated using packit 0.104.1.post1.dev2+g8a1a06eb.

View File

@ -49,7 +49,7 @@ Summary: Web Console for Linux servers
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: https://cockpit-project.org/ URL: https://cockpit-project.org/
Version: 327 Version: 330
Release: 1%{?dist} Release: 1%{?dist}
Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz
@ -132,11 +132,8 @@ BuildRequires: python3-pip
%if 0%{?rhel} == 0 && !0%{?suse_version} %if 0%{?rhel} == 0 && !0%{?suse_version}
# All of these are only required for running pytest (which we only do on Fedora) # All of these are only required for running pytest (which we only do on Fedora)
BuildRequires: procps-ng BuildRequires: procps-ng
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-pytest-asyncio BuildRequires: python3-pytest-asyncio
BuildRequires: python3-pytest-cov
BuildRequires: python3-pytest-timeout BuildRequires: python3-pytest-timeout
BuildRequires: python3-tox-current-env
%endif %endif
%prep %prep
@ -159,7 +156,8 @@ BuildRequires: python3-tox-current-env
make -j$(nproc) check make -j$(nproc) check
%if 0%{?rhel} == 0 %if 0%{?rhel} == 0
%tox export NO_QUNIT=1
%pytest
%endif %endif
%install %install
@ -330,19 +328,19 @@ Recommends: (reportd if abrt)
%endif %endif
Provides: bundled(npm(@patternfly/patternfly)) = 5.4.2 Provides: bundled(npm(@patternfly/patternfly)) = 5.4.2
Provides: bundled(npm(@patternfly/react-core)) = 5.4.2 Provides: bundled(npm(@patternfly/react-core)) = 5.4.10
Provides: bundled(npm(@patternfly/react-icons)) = 5.4.0 Provides: bundled(npm(@patternfly/react-icons)) = 5.4.2
Provides: bundled(npm(@patternfly/react-styles)) = 5.4.0 Provides: bundled(npm(@patternfly/react-styles)) = 5.4.1
Provides: bundled(npm(@patternfly/react-table)) = 5.4.2 Provides: bundled(npm(@patternfly/react-table)) = 5.4.11
Provides: bundled(npm(@patternfly/react-tokens)) = 5.4.0 Provides: bundled(npm(@patternfly/react-tokens)) = 5.4.1
Provides: bundled(npm(@xterm/addon-canvas)) = 0.7.0 Provides: bundled(npm(@xterm/addon-canvas)) = 0.7.0
Provides: bundled(npm(@xterm/xterm)) = 5.5.0 Provides: bundled(npm(@xterm/xterm)) = 5.5.0
Provides: bundled(npm(argparse)) = 1.0.10 Provides: bundled(npm(argparse)) = 1.0.10
Provides: bundled(npm(attr-accept)) = 2.2.4 Provides: bundled(npm(attr-accept)) = 2.2.5
Provides: bundled(npm(autolinker)) = 3.16.2 Provides: bundled(npm(autolinker)) = 3.16.2
Provides: bundled(npm(dequal)) = 2.0.3 Provides: bundled(npm(dequal)) = 2.0.3
Provides: bundled(npm(file-selector)) = 0.6.0 Provides: bundled(npm(file-selector)) = 2.1.2
Provides: bundled(npm(focus-trap)) = 7.5.4 Provides: bundled(npm(focus-trap)) = 7.6.2
Provides: bundled(npm(js-sha1)) = 0.7.0 Provides: bundled(npm(js-sha1)) = 0.7.0
Provides: bundled(npm(js-sha256)) = 0.11.0 Provides: bundled(npm(js-sha256)) = 0.11.0
Provides: bundled(npm(js-tokens)) = 4.0.0 Provides: bundled(npm(js-tokens)) = 4.0.0
@ -352,7 +350,7 @@ Provides: bundled(npm(loose-envify)) = 1.4.0
Provides: bundled(npm(object-assign)) = 4.1.1 Provides: bundled(npm(object-assign)) = 4.1.1
Provides: bundled(npm(prop-types)) = 15.8.1 Provides: bundled(npm(prop-types)) = 15.8.1
Provides: bundled(npm(react-dom)) = 18.3.1 Provides: bundled(npm(react-dom)) = 18.3.1
Provides: bundled(npm(react-dropzone)) = 14.2.10 Provides: bundled(npm(react-dropzone)) = 14.3.5
Provides: bundled(npm(react-is)) = 16.13.1 Provides: bundled(npm(react-is)) = 16.13.1
Provides: bundled(npm(react)) = 18.3.1 Provides: bundled(npm(react)) = 18.3.1
Provides: bundled(npm(remarkable)) = 2.0.1 Provides: bundled(npm(remarkable)) = 2.0.1
@ -360,8 +358,8 @@ Provides: bundled(npm(scheduler)) = 0.23.2
Provides: bundled(npm(sprintf-js)) = 1.0.3 Provides: bundled(npm(sprintf-js)) = 1.0.3
Provides: bundled(npm(tabbable)) = 6.2.0 Provides: bundled(npm(tabbable)) = 6.2.0
Provides: bundled(npm(throttle-debounce)) = 5.0.2 Provides: bundled(npm(throttle-debounce)) = 5.0.2
Provides: bundled(npm(tslib)) = 2.8.0 Provides: bundled(npm(tslib)) = 2.8.1
Provides: bundled(npm(uuid)) = 10.0.0 Provides: bundled(npm(uuid)) = 11.0.3
%description system %description system
This package contains the Cockpit shell and system configuration interfaces. This package contains the Cockpit shell and system configuration interfaces.
@ -411,16 +409,18 @@ authentication via sssd/FreeIPA.
%{_unitdir}/cockpit.service %{_unitdir}/cockpit.service
%{_unitdir}/cockpit-motd.service %{_unitdir}/cockpit-motd.service
%{_unitdir}/cockpit.socket %{_unitdir}/cockpit.socket
%{_unitdir}/cockpit-ws-user.service %{_unitdir}/cockpit-session-socket-user.service
%{_unitdir}/cockpit-session.socket
%{_unitdir}/cockpit-session@.service
%{_unitdir}/cockpit-wsinstance-http.socket %{_unitdir}/cockpit-wsinstance-http.socket
%{_unitdir}/cockpit-wsinstance-http.service %{_unitdir}/cockpit-wsinstance-http.service
%{_unitdir}/cockpit-wsinstance-https-factory.socket %{_unitdir}/cockpit-wsinstance-https-factory.socket
%{_unitdir}/cockpit-wsinstance-https-factory@.service %{_unitdir}/cockpit-wsinstance-https-factory@.service
%{_unitdir}/cockpit-wsinstance-https@.socket %{_unitdir}/cockpit-wsinstance-https@.socket
%{_unitdir}/cockpit-wsinstance-https@.service %{_unitdir}/cockpit-wsinstance-https@.service
%{_unitdir}/cockpit-wsinstance-socket-user.service
%{_unitdir}/system-cockpithttps.slice %{_unitdir}/system-cockpithttps.slice
%{_prefix}/%{__lib}/tmpfiles.d/cockpit-ws.conf %{_prefix}/%{__lib}/tmpfiles.d/cockpit-ws.conf
%{_sysusersdir}/cockpit-wsinstance.conf
%{pamdir}/pam_ssh_add.so %{pamdir}/pam_ssh_add.so
%{pamdir}/pam_cockpit_cert.so %{pamdir}/pam_cockpit_cert.so
%{_libexecdir}/cockpit-ws %{_libexecdir}/cockpit-ws
@ -431,7 +431,7 @@ authentication via sssd/FreeIPA.
%{_libexecdir}/cockpit-desktop %{_libexecdir}/cockpit-desktop
%{_libexecdir}/cockpit-certificate-ensure %{_libexecdir}/cockpit-certificate-ensure
%{_libexecdir}/cockpit-certificate-helper %{_libexecdir}/cockpit-certificate-helper
%attr(4750, root, cockpit-wsinstance) %{_libexecdir}/cockpit-session %{_libexecdir}/cockpit-session
%{_datadir}/cockpit/branding %{_datadir}/cockpit/branding
%{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2 %{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
%{_mandir}/man8/%{name}_session_selinux.8cockpit.* %{_mandir}/man8/%{name}_session_selinux.8cockpit.*
@ -439,11 +439,6 @@ authentication via sssd/FreeIPA.
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name} %ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name}
%pre ws %pre ws
# HACK: old RPM and even Fedora's current RPM don't properly support sysusers
# https://github.com/rpm-software-management/rpm/issues/3073
getent group cockpit-wsinstance >/dev/null || groupadd -r cockpit-wsinstance
getent passwd cockpit-wsinstance >/dev/null || useradd -r -g cockpit-wsinstance -d /nonexisting -s /sbin/nologin -c "User for cockpit-ws instances" cockpit-wsinstance
if %{_sbindir}/selinuxenabled 2>/dev/null; then if %{_sbindir}/selinuxenabled 2>/dev/null; then
%selinux_relabel_pre -s %{selinuxtype} %selinux_relabel_pre -s %{selinuxtype}
fi fi
@ -478,6 +473,11 @@ if test -f %{_sysconfdir}/pam.d/cockpit && grep -q pam_cockpit_cert %{_sysconfd
echo '**** WARNING:' echo '**** WARNING:'
fi fi
# remove obsolete system user on upgrade (replaced with DynamicUser in version 330)
if getent passwd cockpit-wsinstance >/dev/null; then
userdel cockpit-wsinstance
fi
%preun ws %preun ws
%systemd_preun cockpit.socket cockpit.service %systemd_preun cockpit.socket cockpit.service
@ -594,8 +594,6 @@ These files are not required for running Cockpit.
%files -n cockpit-tests -f tests.list %files -n cockpit-tests -f tests.list
%{pamdir}/mock-pam-conv-mod.so %{pamdir}/mock-pam-conv-mod.so
%{_unitdir}/cockpit-session.socket
%{_unitdir}/cockpit-session@.service
%package -n cockpit-packagekit %package -n cockpit-packagekit
Summary: Cockpit user interface for packages Summary: Cockpit user interface for packages
@ -614,6 +612,20 @@ via PackageKit.
# The changelog is automatically generated and merged # The changelog is automatically generated and merged
%changelog %changelog
* Wed Dec 04 2024 Packit <hello@packit.dev> - 330-1
- Web server: Increased sandboxing, setuid removal, bootc support
- Development: New install mode using systemd-sysext
- ws container: Move to Fedora 41
* Mon Nov 25 2024 Packit <hello@packit.dev> - 329.1-1
- cockpit.js: Put back cockpit.{resolve,reject}() to fix subscription-manager-cockpit
* Wed Nov 20 2024 Packit <hello@packit.dev> - 329-1
- Shell: Extra warnings when connecting to remote hosts
* Wed Nov 06 2024 Packit <hello@packit.dev> - 328-1
- Bug fixes and performance improvements
* Wed Oct 23 2024 Packit <hello@packit.dev> - 327-1 * Wed Oct 23 2024 Packit <hello@packit.dev> - 327-1
- Connect to similar servers without Cockpit installed - Connect to similar servers without Cockpit installed

View File

@ -1 +1 @@
SHA512 (cockpit-327.tar.xz) = 21590c92af27df8d2b48c209521a024617fb666c03c4fe7277c31c583127f646fd7b0fa7cc9083dce09795597d0aa6409e3db98d593ab9e6e1f0bd085de69a5e SHA512 (cockpit-330.tar.xz) = 08ad310eeeeb963c109a4f10eab047a0b117a1d7ebca979e2385ccfa562ed367e0693484610371b613ca60eb836013a350d07d62b1b514d505a6c0266401ec22