Update to 124-1
- Build and test on Debian Jessie - Deprecate older javascript files - Properly terminate user sessions on the Accounts page - Fix regression on login screen in older Internet Explorer browsers - Fix regression where Date Picker was not shown in System Time dialog
This commit is contained in:
parent
dbf6f277f7
commit
e9ac67ecd2
1
.gitignore
vendored
1
.gitignore
vendored
@ -94,3 +94,4 @@
|
|||||||
/cockpit-121.tar.xz
|
/cockpit-121.tar.xz
|
||||||
/cockpit-122.tar.xz
|
/cockpit-122.tar.xz
|
||||||
/cockpit-123.tar.xz
|
/cockpit-123.tar.xz
|
||||||
|
/cockpit-124.tar.xz
|
||||||
|
48
cockpit.spec
48
cockpit.spec
@ -1,5 +1,5 @@
|
|||||||
# This spec file has been automatically updated
|
# This spec file has been automatically updated
|
||||||
Version: 123
|
Version: 124
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
#
|
#
|
||||||
# This file is maintained at the following location:
|
# This file is maintained at the following location:
|
||||||
@ -12,16 +12,11 @@ Release: 1%{?dist}
|
|||||||
#
|
#
|
||||||
# Globals that may be defined elsewhere
|
# Globals that may be defined elsewhere
|
||||||
# * Version 122
|
# * Version 122
|
||||||
# * gitcommit xxxx
|
# * wip 1
|
||||||
#
|
#
|
||||||
|
|
||||||
%if %{defined gitcommit}
|
|
||||||
%define extra_flags CFLAGS='-O2 -Wall -Werror -fPIC -g -DWITH_DEBUG'
|
|
||||||
%define required_base %{gitcommit}
|
|
||||||
%else
|
|
||||||
# earliest base that the subpackages work on
|
# earliest base that the subpackages work on
|
||||||
%define required_base 122
|
%define required_base 122
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{?centos}
|
%if 0%{?centos}
|
||||||
%define rhel 0
|
%define rhel 0
|
||||||
@ -35,15 +30,12 @@ Release: 1%{?dist}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: cockpit
|
Name: cockpit
|
||||||
%if %{defined gitcommit}
|
|
||||||
%else
|
|
||||||
%endif
|
|
||||||
Summary: A user interface for Linux servers
|
Summary: A user interface for Linux servers
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://cockpit-project.org/
|
URL: http://cockpit-project.org/
|
||||||
|
|
||||||
%if %{defined gitcommit}
|
%if %{defined wip}
|
||||||
Source0: cockpit-%{version}.tar.gz
|
Source0: cockpit-%{version}.tar.gz
|
||||||
%else
|
%else
|
||||||
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
|
||||||
@ -71,11 +63,8 @@ BuildRequires: glib2-devel >= 2.37.4
|
|||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRequires: polkit
|
BuildRequires: polkit
|
||||||
BuildRequires: pcp-libs-devel
|
BuildRequires: pcp-libs-devel
|
||||||
BuildRequires: gdb
|
|
||||||
|
|
||||||
%if %{defined gitcommit}
|
|
||||||
BuildRequires: krb5-server
|
BuildRequires: krb5-server
|
||||||
%endif
|
BuildRequires: gdb
|
||||||
|
|
||||||
# For documentation
|
# For documentation
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
@ -91,7 +80,7 @@ Requires: %{name}-shell = %{version}-%{release}
|
|||||||
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
|
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
|
||||||
Recommends: %{name}-networkmanager = %{version}-%{release}
|
Recommends: %{name}-networkmanager = %{version}-%{release}
|
||||||
Recommends: %{name}-storaged = %{version}-%{release}
|
Recommends: %{name}-storaged = %{version}-%{release}
|
||||||
%ifarch x86_64 %{arm} aarch64 ppc64 ppc64le
|
%ifarch x86_64 %{arm} aarch64 ppc64le
|
||||||
Recommends: %{name}-docker = %{version}-%{release}
|
Recommends: %{name}-docker = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
Suggests: %{name}-pcp = %{version}-%{release}
|
Suggests: %{name}-pcp = %{version}-%{release}
|
||||||
@ -174,7 +163,7 @@ make -j4 check
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
%if %{defined gitcommit} || 0%{?rhel}
|
%if %{defined wip} || 0%{?rhel}
|
||||||
make install-test-assets DESTDIR=%{buildroot}
|
make install-test-assets DESTDIR=%{buildroot}
|
||||||
%else
|
%else
|
||||||
rm -rf %{buildroot}/%{_datadir}/%{name}/playground
|
rm -rf %{buildroot}/%{_datadir}/%{name}/playground
|
||||||
@ -237,7 +226,7 @@ echo '%dir %{_datadir}/%{name}/selinux' > selinux.list
|
|||||||
find %{buildroot}%{_datadir}/%{name}/selinux -type f >> selinux.list
|
find %{buildroot}%{_datadir}/%{name}/selinux -type f >> selinux.list
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64 %{arm} aarch64 ppc64 ppc64le
|
%ifarch x86_64 %{arm} aarch64 ppc64le
|
||||||
echo '%dir %{_datadir}/%{name}/docker' > docker.list
|
echo '%dir %{_datadir}/%{name}/docker' > docker.list
|
||||||
find %{buildroot}%{_datadir}/%{name}/docker -type f >> docker.list
|
find %{buildroot}%{_datadir}/%{name}/docker -type f >> docker.list
|
||||||
%else
|
%else
|
||||||
@ -246,7 +235,7 @@ touch docker.list
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%if %{defined gitcommit}
|
%if %{defined wip}
|
||||||
%else
|
%else
|
||||||
rm %{buildroot}/%{_datadir}/%{name}/kubernetes/override.json
|
rm %{buildroot}/%{_datadir}/%{name}/kubernetes/override.json
|
||||||
%endif
|
%endif
|
||||||
@ -278,12 +267,7 @@ cat subscriptions.list sosreport.list networkmanager.list selinux.list >> shell.
|
|||||||
# https://fedoraproject.org/wiki/PackagingDrafts/Go
|
# https://fedoraproject.org/wiki/PackagingDrafts/Go
|
||||||
%global _dwz_low_mem_die_limit 0
|
%global _dwz_low_mem_die_limit 0
|
||||||
|
|
||||||
# Only strip out debug info in non wip builds
|
|
||||||
%if %{defined gitcommit}
|
|
||||||
%define find_debug_info %{nil}
|
|
||||||
%else
|
|
||||||
%define find_debug_info %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_include_minidebuginfo:-m} %{?_find_debuginfo_dwz_opts} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"
|
%define find_debug_info %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_include_minidebuginfo:-m} %{?_find_debuginfo_dwz_opts} %{?_find_debuginfo_opts} "%{_builddir}/%{?buildsubdir}"
|
||||||
%endif
|
|
||||||
|
|
||||||
# Redefine how debug info is built to slip in our extra debug files
|
# Redefine how debug info is built to slip in our extra debug files
|
||||||
%define __debug_install_post \
|
%define __debug_install_post \
|
||||||
@ -302,6 +286,7 @@ cat subscriptions.list sosreport.list networkmanager.list selinux.list >> shell.
|
|||||||
%doc %{_mandir}/man1/cockpit.1.gz
|
%doc %{_mandir}/man1/cockpit.1.gz
|
||||||
|
|
||||||
%files bridge -f base.list
|
%files bridge -f base.list
|
||||||
|
%{_datadir}/%{name}/base1/bundle.min.js.gz
|
||||||
%doc %{_mandir}/man1/cockpit-bridge.1.gz
|
%doc %{_mandir}/man1/cockpit-bridge.1.gz
|
||||||
%{_bindir}/cockpit-bridge
|
%{_bindir}/cockpit-bridge
|
||||||
%attr(4755, -, -) %{_libexecdir}/cockpit-polkit
|
%attr(4755, -, -) %{_libexecdir}/cockpit-polkit
|
||||||
@ -318,12 +303,10 @@ cat subscriptions.list sosreport.list networkmanager.list selinux.list >> shell.
|
|||||||
%{_localstatedir}/lib/pcp/config/pmlogconf/tools/cockpit
|
%{_localstatedir}/lib/pcp/config/pmlogconf/tools/cockpit
|
||||||
|
|
||||||
%post pcp
|
%post pcp
|
||||||
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185749
|
|
||||||
( cd %{_localstatedir}/lib/pcp/pmns && ./Rebuild -du )
|
|
||||||
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185764
|
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185764
|
||||||
# We can't use "systemctl reload-or-try-restart" since systemctl might
|
# We can't use "systemctl reload-or-try-restart" since systemctl might
|
||||||
# be out of sync with reality.
|
# be out of sync with reality.
|
||||||
/usr/share/pcp/lib/pmlogger reload
|
/usr/share/pcp/lib/pmlogger condrestart
|
||||||
|
|
||||||
%files ws -f %{name}.lang
|
%files ws -f %{name}.lang
|
||||||
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
||||||
@ -506,7 +489,7 @@ utility setroubleshoot to diagnose and resolve SELinux issues.
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64 %{arm} aarch64 ppc64 ppc64le
|
%ifarch x86_64 %{arm} aarch64 ppc64le
|
||||||
|
|
||||||
%package docker
|
%package docker
|
||||||
Summary: Cockpit user interface for Docker containers
|
Summary: Cockpit user interface for Docker containers
|
||||||
@ -544,7 +527,7 @@ cluster. Installed on the Kubernetes master. This package is not yet complete.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# we only build test assets on rhel or if we're building from a specific commit
|
# we only build test assets on rhel or if we're building from a specific commit
|
||||||
%if %{defined gitcommit} || 0%{?rhel}
|
%if %{defined wip} || 0%{?rhel}
|
||||||
|
|
||||||
%package test-assets
|
%package test-assets
|
||||||
Summary: Additional stuff for testing Cockpit
|
Summary: Additional stuff for testing Cockpit
|
||||||
@ -564,6 +547,13 @@ pulls in some necessary packages via dependencies.
|
|||||||
|
|
||||||
# The changelog is automatically generated and merged
|
# The changelog is automatically generated and merged
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 16 2016 Stef Walter <<stefw@redhat.com>> - 124-1
|
||||||
|
- Build and test on Debian Jessie
|
||||||
|
- Deprecate older javascript files
|
||||||
|
- Properly terminate user sessions on the Accounts page
|
||||||
|
- Fix regression on login screen in older Internet Explorer browsers
|
||||||
|
- Fix regression where Date Picker was not shown in System Time dialog
|
||||||
|
|
||||||
* Thu Nov 10 2016 Stef Walter <<stefw@redhat.com>> - 123-1
|
* Thu Nov 10 2016 Stef Walter <<stefw@redhat.com>> - 123-1
|
||||||
- Release a second tarball with cached javascript dependencies
|
- Release a second tarball with cached javascript dependencies
|
||||||
- Start verifying that Cockpit works on Ubuntu 16.04
|
- Start verifying that Cockpit works on Ubuntu 16.04
|
||||||
|
Loading…
Reference in New Issue
Block a user