Update to upstream release 301

Resolves: jira#RHEL-2215
This commit is contained in:
Martin Pitt 2023-09-25 07:27:30 +02:00
parent 16811fc8fc
commit 0e43636b00
3 changed files with 25 additions and 21 deletions

View File

@ -49,17 +49,14 @@ 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: 300 Version: 301
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
Source1: cockpit.css.gz Source1: cockpit.css.gz
%if 0%{?fedora} >= 38 || 0%{?rhel} >= 9 # Don't change the bridge in the RHEL 8; the old SSH breaks some features, see @todoPybridgeRHEL8
%define cockpit_enable_python 1 %if 0%{?rhel} == 8 && !%{defined enable_old_bridge}
%endif %define enable_old_bridge 1
%if !%{defined cockpit_enable_python}
%define cockpit_enable_python 0
%endif %endif
# in RHEL 8 the source package is duplicated: cockpit (building basic packages like cockpit-{bridge,system}) # in RHEL 8 the source package is duplicated: cockpit (building basic packages like cockpit-{bridge,system})
@ -103,7 +100,7 @@ BuildRequires: pam-devel
BuildRequires: autoconf automake BuildRequires: autoconf automake
BuildRequires: make BuildRequires: make
BuildRequires: /usr/bin/python3 BuildRequires: python3-devel
%if 0%{?rhel} && 0%{?rhel} <= 8 %if 0%{?rhel} && 0%{?rhel} <= 8
# RHEL 8's gettext does not yet have metainfo.its # RHEL 8's gettext does not yet have metainfo.its
BuildRequires: gettext >= 0.19.7 BuildRequires: gettext >= 0.19.7
@ -170,7 +167,7 @@ Suggests: cockpit-selinux
Requires: subscription-manager-cockpit Requires: subscription-manager-cockpit
%endif %endif
%if %{cockpit_enable_python} %if 0%{?enable_old_bridge} == 0
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-pip BuildRequires: python3-pip
%if 0%{?rhel} == 0 %if 0%{?rhel} == 0
@ -196,8 +193,8 @@ BuildRequires: python3-tox-current-env
--docdir=%_defaultdocdir/%{name} \ --docdir=%_defaultdocdir/%{name} \
%endif %endif
--with-pamdir='%{pamdir}' \ --with-pamdir='%{pamdir}' \
%if %{cockpit_enable_python} %if 0%{?enable_old_bridge}
--enable-pybridge \ --enable-old-bridge \
%endif %endif
%if 0%{?build_basic} == 0 %if 0%{?build_basic} == 0
--disable-ssh \ --disable-ssh \
@ -208,7 +205,7 @@ BuildRequires: python3-tox-current-env
%check %check
make -j$(nproc) check make -j$(nproc) check
%if %{cockpit_enable_python} && 0%{?rhel} == 0 %if 0%{?enable_old_bridge} == 0 && 0%{?rhel} == 0
%tox %tox
%endif %endif
@ -378,7 +375,7 @@ system on behalf of the web based user interface.
%doc %{_mandir}/man1/cockpit-bridge.1.gz %doc %{_mandir}/man1/cockpit-bridge.1.gz
%{_bindir}/cockpit-bridge %{_bindir}/cockpit-bridge
%{_libexecdir}/cockpit-askpass %{_libexecdir}/cockpit-askpass
%if %{cockpit_enable_python} %if 0%{?enable_old_bridge} == 0
%{python3_sitelib}/%{name}* %{python3_sitelib}/%{name}*
%{_libexecdir}/cockpit-beiboot %{_libexecdir}/cockpit-beiboot
%endif %endif
@ -430,17 +427,18 @@ Provides: cockpit-sosreport = %{version}-%{release}
Recommends: (reportd if abrt) Recommends: (reportd if abrt)
%endif %endif
Provides: bundled(npm(@patternfly/patternfly)) = 5.0.2 Provides: bundled(npm(@patternfly/patternfly)) = 5.0.4
Provides: bundled(npm(@patternfly/react-core)) = 5.0.0 Provides: bundled(npm(@patternfly/react-core)) = 5.0.1
Provides: bundled(npm(@patternfly/react-icons)) = 5.0.0 Provides: bundled(npm(@patternfly/react-icons)) = 5.0.1
Provides: bundled(npm(@patternfly/react-styles)) = 5.0.0 Provides: bundled(npm(@patternfly/react-styles)) = 5.0.1
Provides: bundled(npm(@patternfly/react-table)) = 5.0.0 Provides: bundled(npm(@patternfly/react-table)) = 5.0.1
Provides: bundled(npm(@patternfly/react-tokens)) = 5.0.0 Provides: bundled(npm(@patternfly/react-tokens)) = 5.0.1
Provides: bundled(npm(argparse)) = 1.0.10 Provides: bundled(npm(argparse)) = 1.0.10
Provides: bundled(npm(attr-accept)) = 2.2.2 Provides: bundled(npm(attr-accept)) = 2.2.2
Provides: bundled(npm(autolinker)) = 3.16.2 Provides: bundled(npm(autolinker)) = 3.16.2
Provides: bundled(npm(available-typed-arrays)) = 1.0.5 Provides: bundled(npm(available-typed-arrays)) = 1.0.5
Provides: bundled(npm(call-bind)) = 1.0.2 Provides: bundled(npm(call-bind)) = 1.0.2
Provides: bundled(npm(date-fns)) = 2.22.1
Provides: bundled(npm(deep-equal)) = 2.0.5 Provides: bundled(npm(deep-equal)) = 2.0.5
Provides: bundled(npm(define-properties)) = 1.2.0 Provides: bundled(npm(define-properties)) = 1.2.0
Provides: bundled(npm(es-get-iterator)) = 1.1.3 Provides: bundled(npm(es-get-iterator)) = 1.1.3
@ -786,6 +784,10 @@ via PackageKit.
# The changelog is automatically generated and merged # The changelog is automatically generated and merged
%changelog %changelog
* Wed Sep 20 2023 Packit <hello@packit.dev> - 301-1
- WireGuard support
- Metrics: link to network interface details
* Wed Sep 06 2023 Packit <hello@packit.dev> - 300-1 * Wed Sep 06 2023 Packit <hello@packit.dev> - 300-1
- Celebrating the Nürnberg life release! - Celebrating the Nürnberg life release!
- Storage: Support for growing block devices of a Stratis pool - Storage: Support for growing block devices of a Stratis pool

View File

@ -1,7 +1,9 @@
discover: discover:
how: fmf how: fmf
url: https://github.com/cockpit-project/cockpit url: https://github.com/cockpit-project/cockpit
ref: "300" # ref: "301"
# 301 plus Fix installation of cockpit-tests
ref: "bd60838e581fe9193e0b794adea0023e98e85186"
execute: execute:
how: tmt how: tmt

View File

@ -1,2 +1,2 @@
SHA512 (cockpit-300.tar.xz) = 758e50c00ad203d26f2c442b13be43c1df86b32451d8f1e1bf38aab27801407d260d208028ede4f0d44c505dbba590d3429164ada829d580de6a09e67b4ab4fe SHA512 (cockpit-301.tar.xz) = 1c56dab4c020dc8e8deb5c4d2469b1cdfca85f0c014260459a84bd45104af39311ba903d5b9927ede71a92bd264346009e644a15e51c543b3f47d9da05bbc68e
SHA512 (cockpit.css.gz) = 1851e890e49141c17e498f1472c3bc307439cefaa0f1dccecbfc87b04087af03ca42199c86116c1fcf8890b58ca98f8aecfb01cc8b3c03a76e2685f7bd610568 SHA512 (cockpit.css.gz) = 1851e890e49141c17e498f1472c3bc307439cefaa0f1dccecbfc87b04087af03ca42199c86116c1fcf8890b58ca98f8aecfb01cc8b3c03a76e2685f7bd610568