import CS cockpit-appstream-299-1.el8
This commit is contained in:
parent
03110ec510
commit
9d883b2a7c
@ -1,2 +1,2 @@
|
|||||||
256de4a4ebadbf0c4d1b5b70727e5d9f00674bbe SOURCES/cockpit-286.1.tar.xz
|
e72b836dc8296a8fd63af3403b6f9e2ab6011d1d SOURCES/cockpit-299.tar.xz
|
||||||
d7772c2e0aadeacfca24a1fe7f6d33c1fb6f4e54 SOURCES/cockpit-machines-284.1.tar.xz
|
1bc6d311156406aa02e6822febc8ca55f9dde89e SOURCES/cockpit-machines-297.tar.xz
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
SOURCES/cockpit-286.1.tar.xz
|
SOURCES/cockpit-299.tar.xz
|
||||||
SOURCES/cockpit-machines-284.1.tar.xz
|
SOURCES/cockpit-machines-297.tar.xz
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
# we maintain the basic/optional split, then it can be replaced with just %{version}.
|
# we maintain the basic/optional split, then it can be replaced with just %{version}.
|
||||||
%define required_base 266
|
%define required_base 266
|
||||||
|
|
||||||
%define machines_version 284.1
|
%define machines_version 297
|
||||||
|
|
||||||
# we generally want CentOS packages to be like RHEL; special cases need to check %{centos} explicitly
|
# we generally want CentOS packages to be like RHEL; special cases need to check %{centos} explicitly
|
||||||
%if 0%{?centos}
|
%if 0%{?centos}
|
||||||
@ -48,14 +48,22 @@
|
|||||||
Name: cockpit-appstream
|
Name: cockpit-appstream
|
||||||
Summary: Web Console for Linux servers
|
Summary: Web Console for Linux servers
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPL-2.1-or-later
|
||||||
URL: https://cockpit-project.org/
|
URL: https://cockpit-project.org/
|
||||||
|
|
||||||
Version: 286.1
|
Version: 299
|
||||||
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: https://github.com/cockpit-project/cockpit-machines/releases/download/%{machines_version}/cockpit-machines-%{machines_version}.tar.xz
|
Source1: https://github.com/cockpit-project/cockpit-machines/releases/download/%{machines_version}/cockpit-machines-%{machines_version}.tar.xz
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 38 || 0%{?rhel} >= 9
|
||||||
|
%define cockpit_enable_python 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if !%{defined cockpit_enable_python}
|
||||||
|
%define cockpit_enable_python 0
|
||||||
|
%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})
|
||||||
# and cockpit-appstream (building optional packages like cockpit-{pcp})
|
# and cockpit-appstream (building optional packages like cockpit-{pcp})
|
||||||
# This split does not apply to EPEL/COPR nor packit c8s builds, only to our own
|
# This split does not apply to EPEL/COPR nor packit c8s builds, only to our own
|
||||||
@ -157,12 +165,28 @@ Suggests: cockpit-pcp
|
|||||||
|
|
||||||
%if 0%{?rhel} == 0
|
%if 0%{?rhel} == 0
|
||||||
Recommends: (cockpit-networkmanager if NetworkManager)
|
Recommends: (cockpit-networkmanager if NetworkManager)
|
||||||
|
# c-ostree is not in RHEL 8/9
|
||||||
|
Recommends: (cockpit-ostree if rpm-ostree)
|
||||||
Suggests: cockpit-selinux
|
Suggests: cockpit-selinux
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} && 0%{?centos} == 0
|
%if 0%{?rhel} && 0%{?centos} == 0
|
||||||
Requires: subscription-manager-cockpit
|
Requires: subscription-manager-cockpit
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{cockpit_enable_python}
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
%if 0%{?rhel} == 0
|
||||||
|
# All of these are only required for running pytest (which we only do on Fedora)
|
||||||
|
BuildRequires: procps-ng
|
||||||
|
BuildRequires: pyproject-rpm-macros
|
||||||
|
BuildRequires: python3-pytest-asyncio
|
||||||
|
BuildRequires: python3-pytest-cov
|
||||||
|
BuildRequires: python3-pytest-timeout
|
||||||
|
BuildRequires: python3-tox-current-env
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -a 1 -c -n cockpit-machines-%{machines_version}
|
%setup -q -T -a 1 -c -n cockpit-machines-%{machines_version}
|
||||||
%setup -q -n cockpit-%{version}
|
%setup -q -n cockpit-%{version}
|
||||||
@ -176,6 +200,9 @@ Requires: subscription-manager-cockpit
|
|||||||
--docdir=%_defaultdocdir/%{name} \
|
--docdir=%_defaultdocdir/%{name} \
|
||||||
%endif
|
%endif
|
||||||
--with-pamdir='%{pamdir}' \
|
--with-pamdir='%{pamdir}' \
|
||||||
|
%if %{cockpit_enable_python}
|
||||||
|
--enable-pybridge \
|
||||||
|
%endif
|
||||||
%if 0%{?build_basic} == 0
|
%if 0%{?build_basic} == 0
|
||||||
--disable-ssh \
|
--disable-ssh \
|
||||||
%endif
|
%endif
|
||||||
@ -185,10 +212,14 @@ Requires: subscription-manager-cockpit
|
|||||||
%check
|
%check
|
||||||
make -j$(nproc) check
|
make -j$(nproc) check
|
||||||
|
|
||||||
|
%if %{cockpit_enable_python} && 0%{?rhel} == 0
|
||||||
|
%tox
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
make install-tests DESTDIR=%{buildroot}
|
make install-tests DESTDIR=%{buildroot}
|
||||||
make -C %{_builddir}/cockpit-machines-%{machines_version}/cockpit-machines install DESTDIR=%{buildroot}
|
make -C %{_builddir}/cockpit-machines-%{machines_version}/cockpit-machines install DESTDIR=%{buildroot} PREFIX=/usr
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
|
||||||
install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
|
install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
|
||||||
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
|
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
|
||||||
@ -208,9 +239,6 @@ echo '%{_libexecdir}/cockpit-ssh' >> base.list
|
|||||||
echo '%dir %{_datadir}/cockpit/pcp' > pcp.list
|
echo '%dir %{_datadir}/cockpit/pcp' > pcp.list
|
||||||
find %{buildroot}%{_datadir}/cockpit/pcp -type f >> pcp.list
|
find %{buildroot}%{_datadir}/cockpit/pcp -type f >> pcp.list
|
||||||
|
|
||||||
echo '%dir %{_datadir}/cockpit/tuned' > system.list
|
|
||||||
find %{buildroot}%{_datadir}/cockpit/tuned -type f >> system.list
|
|
||||||
|
|
||||||
echo '%dir %{_datadir}/cockpit/shell' >> system.list
|
echo '%dir %{_datadir}/cockpit/shell' >> system.list
|
||||||
find %{buildroot}%{_datadir}/cockpit/shell -type f >> system.list
|
find %{buildroot}%{_datadir}/cockpit/shell -type f >> system.list
|
||||||
|
|
||||||
@ -256,7 +284,7 @@ find %{buildroot}%{_datadir}/cockpit/static -type f >> static.list
|
|||||||
|
|
||||||
# when not building basic packages, remove their files
|
# when not building basic packages, remove their files
|
||||||
%if 0%{?build_basic} == 0
|
%if 0%{?build_basic} == 0
|
||||||
for pkg in base1 branding motd kdump networkmanager selinux shell sosreport ssh static systemd tuned users metrics; do
|
for pkg in base1 branding motd kdump networkmanager selinux shell sosreport ssh static systemd users metrics; do
|
||||||
rm -r %{buildroot}/%{_datadir}/cockpit/$pkg
|
rm -r %{buildroot}/%{_datadir}/cockpit/$pkg
|
||||||
rm -f %{buildroot}/%{_datadir}/metainfo/org.cockpit-project.cockpit-${pkg}.metainfo.xml
|
rm -f %{buildroot}/%{_datadir}/metainfo/org.cockpit-project.cockpit-${pkg}.metainfo.xml
|
||||||
done
|
done
|
||||||
@ -266,13 +294,14 @@ done
|
|||||||
rm -r %{buildroot}/%{_prefix}/%{__lib}/tmpfiles.d
|
rm -r %{buildroot}/%{_prefix}/%{__lib}/tmpfiles.d
|
||||||
find %{buildroot}/%{_unitdir}/ -type f ! -name 'cockpit-session*' -delete
|
find %{buildroot}/%{_unitdir}/ -type f ! -name 'cockpit-session*' -delete
|
||||||
for libexec in cockpit-askpass cockpit-session cockpit-ws cockpit-tls cockpit-wsinstance-factory cockpit-client cockpit-client.ui cockpit-desktop cockpit-certificate-helper cockpit-certificate-ensure; do
|
for libexec in cockpit-askpass cockpit-session cockpit-ws cockpit-tls cockpit-wsinstance-factory cockpit-client cockpit-client.ui cockpit-desktop cockpit-certificate-helper cockpit-certificate-ensure; do
|
||||||
rm %{buildroot}/%{_libexecdir}/$libexec
|
rm -f %{buildroot}/%{_libexecdir}/$libexec
|
||||||
done
|
done
|
||||||
rm -r %{buildroot}/%{_sysconfdir}/pam.d %{buildroot}/%{_sysconfdir}/motd.d %{buildroot}/%{_sysconfdir}/issue.d
|
rm -r %{buildroot}/%{_sysconfdir}/pam.d %{buildroot}/%{_sysconfdir}/motd.d %{buildroot}/%{_sysconfdir}/issue.d
|
||||||
rm -f %{buildroot}/%{_libdir}/security/pam_*
|
rm -f %{buildroot}/%{_libdir}/security/pam_*
|
||||||
rm %{buildroot}/usr/bin/cockpit-bridge
|
rm -f %{buildroot}/usr/bin/cockpit-bridge
|
||||||
rm -f %{buildroot}%{_libexecdir}/cockpit-ssh
|
rm -f %{buildroot}%{_libexecdir}/cockpit-ssh
|
||||||
rm -f %{buildroot}%{_datadir}/metainfo/cockpit.appdata.xml
|
rm -f %{buildroot}%{_datadir}/metainfo/cockpit.appdata.xml
|
||||||
|
rm -rf %{buildroot}%{python3_sitelib}/cockpit*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# when not building optional packages, remove their files
|
# when not building optional packages, remove their files
|
||||||
@ -353,6 +382,9 @@ 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}
|
||||||
|
%{python3_sitelib}/%{name}*
|
||||||
|
%endif
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Cockpit deployment and developer guide
|
Summary: Cockpit deployment and developer guide
|
||||||
@ -401,6 +433,80 @@ 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/react-core)) = 5.0.0
|
||||||
|
Provides: bundled(npm(@patternfly/react-icons)) = 5.0.0
|
||||||
|
Provides: bundled(npm(@patternfly/react-styles)) = 5.0.0
|
||||||
|
Provides: bundled(npm(@patternfly/react-table)) = 5.0.0
|
||||||
|
Provides: bundled(npm(@patternfly/react-tokens)) = 5.0.0
|
||||||
|
Provides: bundled(npm(argparse)) = 1.0.10
|
||||||
|
Provides: bundled(npm(attr-accept)) = 2.2.2
|
||||||
|
Provides: bundled(npm(autolinker)) = 3.16.2
|
||||||
|
Provides: bundled(npm(available-typed-arrays)) = 1.0.5
|
||||||
|
Provides: bundled(npm(call-bind)) = 1.0.2
|
||||||
|
Provides: bundled(npm(deep-equal)) = 2.0.5
|
||||||
|
Provides: bundled(npm(define-properties)) = 1.2.0
|
||||||
|
Provides: bundled(npm(es-get-iterator)) = 1.1.3
|
||||||
|
Provides: bundled(npm(file-selector)) = 0.6.0
|
||||||
|
Provides: bundled(npm(focus-trap)) = 7.4.3
|
||||||
|
Provides: bundled(npm(for-each)) = 0.3.3
|
||||||
|
Provides: bundled(npm(function-bind)) = 1.1.1
|
||||||
|
Provides: bundled(npm(functions-have-names)) = 1.2.3
|
||||||
|
Provides: bundled(npm(get-intrinsic)) = 1.2.1
|
||||||
|
Provides: bundled(npm(gopd)) = 1.0.1
|
||||||
|
Provides: bundled(npm(has-bigints)) = 1.0.2
|
||||||
|
Provides: bundled(npm(has-property-descriptors)) = 1.0.0
|
||||||
|
Provides: bundled(npm(has-proto)) = 1.0.1
|
||||||
|
Provides: bundled(npm(has-symbols)) = 1.0.3
|
||||||
|
Provides: bundled(npm(has-tostringtag)) = 1.0.0
|
||||||
|
Provides: bundled(npm(has)) = 1.0.3
|
||||||
|
Provides: bundled(npm(internal-slot)) = 1.0.5
|
||||||
|
Provides: bundled(npm(is-arguments)) = 1.1.1
|
||||||
|
Provides: bundled(npm(is-bigint)) = 1.0.4
|
||||||
|
Provides: bundled(npm(is-boolean-object)) = 1.1.2
|
||||||
|
Provides: bundled(npm(is-callable)) = 1.2.7
|
||||||
|
Provides: bundled(npm(is-date-object)) = 1.0.5
|
||||||
|
Provides: bundled(npm(is-map)) = 2.0.2
|
||||||
|
Provides: bundled(npm(is-number-object)) = 1.0.7
|
||||||
|
Provides: bundled(npm(is-regex)) = 1.1.4
|
||||||
|
Provides: bundled(npm(is-set)) = 2.0.2
|
||||||
|
Provides: bundled(npm(is-string)) = 1.0.7
|
||||||
|
Provides: bundled(npm(is-symbol)) = 1.0.4
|
||||||
|
Provides: bundled(npm(is-weakmap)) = 2.0.1
|
||||||
|
Provides: bundled(npm(is-weakset)) = 2.0.2
|
||||||
|
Provides: bundled(npm(isarray)) = 2.0.5
|
||||||
|
Provides: bundled(npm(js-sha1)) = 0.6.0
|
||||||
|
Provides: bundled(npm(js-sha256)) = 0.9.0
|
||||||
|
Provides: bundled(npm(js-tokens)) = 4.0.0
|
||||||
|
Provides: bundled(npm(json-stable-stringify-without-jsonify)) = 1.0.1
|
||||||
|
Provides: bundled(npm(lodash)) = 4.17.21
|
||||||
|
Provides: bundled(npm(loose-envify)) = 1.4.0
|
||||||
|
Provides: bundled(npm(object-assign)) = 4.1.1
|
||||||
|
Provides: bundled(npm(object-inspect)) = 1.12.3
|
||||||
|
Provides: bundled(npm(object-is)) = 1.1.5
|
||||||
|
Provides: bundled(npm(object-keys)) = 1.1.1
|
||||||
|
Provides: bundled(npm(object.assign)) = 4.1.4
|
||||||
|
Provides: bundled(npm(prop-types)) = 15.8.1
|
||||||
|
Provides: bundled(npm(react-dom)) = 18.2.0
|
||||||
|
Provides: bundled(npm(react-dropzone)) = 14.2.3
|
||||||
|
Provides: bundled(npm(react-is)) = 16.13.1
|
||||||
|
Provides: bundled(npm(react)) = 18.2.0
|
||||||
|
Provides: bundled(npm(regexp.prototype.flags)) = 1.5.0
|
||||||
|
Provides: bundled(npm(remarkable)) = 2.0.1
|
||||||
|
Provides: bundled(npm(scheduler)) = 0.23.0
|
||||||
|
Provides: bundled(npm(side-channel)) = 1.0.4
|
||||||
|
Provides: bundled(npm(sprintf-js)) = 1.0.3
|
||||||
|
Provides: bundled(npm(stop-iteration-iterator)) = 1.0.0
|
||||||
|
Provides: bundled(npm(tabbable)) = 6.2.0
|
||||||
|
Provides: bundled(npm(throttle-debounce)) = 2.3.0
|
||||||
|
Provides: bundled(npm(tslib)) = 2.6.2
|
||||||
|
Provides: bundled(npm(uuid)) = 7.0.3
|
||||||
|
Provides: bundled(npm(which-boxed-primitive)) = 1.0.2
|
||||||
|
Provides: bundled(npm(which-collection)) = 1.0.1
|
||||||
|
Provides: bundled(npm(which-typed-array)) = 1.1.11
|
||||||
|
Provides: bundled(npm(xterm-addon-canvas)) = 0.3.0
|
||||||
|
Provides: bundled(npm(xterm)) = 5.1.0
|
||||||
|
|
||||||
%description system
|
%description system
|
||||||
This package contains the Cockpit shell and system configuration interfaces.
|
This package contains the Cockpit shell and system configuration interfaces.
|
||||||
|
|
||||||
@ -509,7 +615,7 @@ fi
|
|||||||
test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
||||||
|
|
||||||
# check for deprecated PAM config
|
# check for deprecated PAM config
|
||||||
if grep --color=auto pam_cockpit_cert %{_sysconfdir}/pam.d/cockpit; then
|
if test -f %{_sysconfdir}/pam.d/cockpit && grep -q pam_cockpit_cert %{_sysconfdir}/pam.d/cockpit; then
|
||||||
echo '**** WARNING:'
|
echo '**** WARNING:'
|
||||||
echo '**** WARNING: pam_cockpit_cert is a no-op and will be removed in a'
|
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: future release; remove it from your /etc/pam.d/cockpit.'
|
||||||
@ -599,7 +705,8 @@ utility setroubleshoot to diagnose and resolve SELinux issues.
|
|||||||
|
|
||||||
# RPM requires this
|
# RPM requires this
|
||||||
%description
|
%description
|
||||||
Dummy package from building optional packages only; never install or publish me.
|
Cockpit packages for RHEL/CentOS 8 AppStream: Machines, PCP, Storage, and
|
||||||
|
Software Updates.
|
||||||
|
|
||||||
#/ build basic packages
|
#/ build basic packages
|
||||||
%endif
|
%endif
|
||||||
@ -711,6 +818,37 @@ via PackageKit.
|
|||||||
|
|
||||||
# The changelog is automatically generated and merged
|
# The changelog is automatically generated and merged
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 23 2023 Martin Pitt <mpitt@redhat.com> - 299-1
|
||||||
|
- Storage: Support for no-overprovisioning with Stratis
|
||||||
|
- Storage: Cockpit can now add caches to encrypted Stratis pools
|
||||||
|
|
||||||
|
* Wed Jul 26 2023 Martin Pitt <mpitt@redhat.com> - 297-1
|
||||||
|
- Bug fixes
|
||||||
|
|
||||||
|
* Wed Jul 12 2023 Martin Pitt <mpitt@redhat.com> - 296-1
|
||||||
|
- Machines: Fix "Edit" button CSS for transient VMs (rhbz#2215597)
|
||||||
|
- Machines: Fix format detection for CD/DVD images (rhbz#2215599)
|
||||||
|
|
||||||
|
* Wed Jun 28 2023 Martin Pitt <mpitt@redhat.com> - 295-1
|
||||||
|
- Machines: Vsock device support
|
||||||
|
- Machines: Confirm shutdown actions
|
||||||
|
- Machines: Show virtual interface's TAP device
|
||||||
|
|
||||||
|
* Tue May 16 2023 Martin Pitt <mpitt@redhat.com> - 292-1
|
||||||
|
- Metrics: Add disk IO per service
|
||||||
|
- Several right-to-left language fixes
|
||||||
|
- Machines: Apply watchdog changes on next boot if hotplug fails
|
||||||
|
|
||||||
|
* Tue May 09 2023 Martin Pitt <mpitt@redhat.com> - 291-1
|
||||||
|
- Update to PatternFly 5 Alpha
|
||||||
|
- Machines: Option to use RAW volume during VM creation
|
||||||
|
- Machines: Redesign VM’s CPU configuration
|
||||||
|
|
||||||
|
* Wed Apr 06 2023 Katerina Koukiou <kkoukiou@redhat.com> - 289-1
|
||||||
|
- Machines: Show an alert when virtualization is disabled in BIOS/EFI
|
||||||
|
- Storage: Mounting filesystems at boot time
|
||||||
|
- Machines: Create VM based on cloud image and start it later (rhbz#1913548)
|
||||||
|
|
||||||
* Thu Feb 23 2023 Martin Pitt <mpitt@redhat.com> - 286.1-1
|
* Thu Feb 23 2023 Martin Pitt <mpitt@redhat.com> - 286.1-1
|
||||||
- Translation updates (rhbz#2139719)
|
- Translation updates (rhbz#2139719)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user