Accepting request 817283 from systemsmanagement:cockpit

OBS-URL: https://build.opensuse.org/request/show/817283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cockpit?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2020-06-26 19:50:19 +00:00 committed by Git OBS Bridge
commit cf2dc0da55
4 changed files with 23 additions and 6 deletions

BIN
cockpit-220.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
cockpit-222.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Jun 26 12:09:09 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- new version 222:
https://cockpit-project.org/blog/cockpit-222.html
changelog from 221:
https://cockpit-project.org/blog/cockpit-221.html
- enable docker module
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 9 12:11:54 UTC 2020 - Ludwig Nussel <lnussel@suse.de> Tue Jun 9 12:11:54 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -76,7 +76,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: 220 Version: 222
%if %{defined wip} %if %{defined wip}
Release: 1.%{wip}%{?dist} Release: 1.%{wip}%{?dist}
Source0: cockpit-%{version}.tar.xz Source0: cockpit-%{version}.tar.xz
@ -143,7 +143,7 @@ Recommends: cockpit-packagekit
Suggests: cockpit-pcp Suggests: cockpit-pcp
%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x %ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
%if 0%{?fedora} == 31 && 0%{?build_optional} %if (0%{?fedora} == 31 || 0%{?suse_version}) && 0%{?build_optional}
%define build_docker 1 %define build_docker 1
Recommends: (cockpit-docker if /usr/bin/docker) Recommends: (cockpit-docker if /usr/bin/docker)
%endif %endif
@ -186,7 +186,13 @@ exec 2>&1
%define testsuite_fail || true %define testsuite_fail || true
%endif %endif
%endif %endif
make -j4 check %{?testsuite_fail} # HACK: RHEL i686 builders hang after running all tests; not a supported architecture, so don't bother
%if 0%{?rhel} >= 8
%ifarch i686
%define testsuite_skip #
%endif
%endif
%{?testsuite_skip} make -j4 check %{?testsuite_fail}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
@ -312,6 +318,7 @@ sed -i "s|%{buildroot}||" *.list
# the distro. # the distro.
pushd %{buildroot}/%{_datadir}/cockpit/branding pushd %{buildroot}/%{_datadir}/cockpit/branding
find -L * -type l -printf "%H\n" | sort -u | xargs rm -rv find -L * -type l -printf "%H\n" | sort -u | xargs rm -rv
ln -s opensuse-tumbleweed opensuse-microos
popd popd
# need this in SUSE as post build checks dislike stale symlinks # need this in SUSE as post build checks dislike stale symlinks
install -m 644 -D /dev/null %{buildroot}/run/cockpit/motd install -m 644 -D /dev/null %{buildroot}/run/cockpit/motd
@ -731,6 +738,7 @@ The Cockpit components for interacting with Docker and user interface.
This package is not yet complete. This package is not yet complete.
%files -n cockpit-docker -f docker.list %files -n cockpit-docker -f docker.list
%dir %{_datadir}/cockpit/docker/images
%{_datadir}/metainfo/org.cockpit-project.cockpit-docker.metainfo.xml %{_datadir}/metainfo/org.cockpit-project.cockpit-docker.metainfo.xml
%endif %endif