Update to 153-1
- Add cockpit-ovirt package to control oVirt virtual machine clusters - Clean up rpmlint/lintian errors in the packages
This commit is contained in:
parent
cfbdadd02b
commit
419b8d317f
1
.gitignore
vendored
1
.gitignore
vendored
@ -114,3 +114,4 @@
|
|||||||
/cockpit-150.tar.xz
|
/cockpit-150.tar.xz
|
||||||
/cockpit-151.tar.xz
|
/cockpit-151.tar.xz
|
||||||
/cockpit-152.tar.xz
|
/cockpit-152.tar.xz
|
||||||
|
/cockpit-153.tar.xz
|
||||||
|
92
cockpit.spec
92
cockpit.spec
@ -1,5 +1,5 @@
|
|||||||
# This spec file has been automatically updated
|
# This spec file has been automatically updated
|
||||||
Version: 152
|
Version: 153
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
#
|
#
|
||||||
# This file is maintained at the following location:
|
# This file is maintained at the following location:
|
||||||
@ -23,6 +23,12 @@ Release: 1%{?dist}
|
|||||||
%define rhel 0
|
%define rhel 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# for testing this already gets set in fedora.install, as we want the target
|
||||||
|
# VERSION_ID, not the mock chroot's one
|
||||||
|
%if "%{!?os_version_id:1}"
|
||||||
|
%define os_version_id %(. /etc/os-release; echo $VERSION_ID)
|
||||||
|
%endif
|
||||||
|
|
||||||
%define _hardened_build 1
|
%define _hardened_build 1
|
||||||
|
|
||||||
# define to build the dashboard
|
# define to build the dashboard
|
||||||
@ -119,13 +125,13 @@ machines.
|
|||||||
# generated and source file changes
|
# generated and source file changes
|
||||||
# Keep this in sync with tools/debian/rules.
|
# Keep this in sync with tools/debian/rules.
|
||||||
if [ -n "%{patches}" ]; then
|
if [ -n "%{patches}" ]; then
|
||||||
git init
|
git init
|
||||||
git config user.email "unused@example.com" && git config user.name "Unused"
|
git config user.email "unused@example.com" && git config user.name "Unused"
|
||||||
git config core.autocrlf false && git config core.safecrlf false && git config gc.auto 0
|
git config core.autocrlf false && git config core.safecrlf false && git config gc.auto 0
|
||||||
git add -f . && git commit -a -q -m "Base" && git tag -a initial --message="initial"
|
git add -f . && git commit -a -q -m "Base" && git tag -a initial --message="initial"
|
||||||
git am --whitespace=nowarn %{patches}
|
git am --whitespace=nowarn %{patches}
|
||||||
touch -r $(git diff --name-only initial..HEAD) .git
|
touch -r $(git diff --name-only initial..HEAD) .git
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -211,6 +217,9 @@ find %{buildroot}%{_datadir}/%{name}/apps -type f >> packagekit.list
|
|||||||
echo '%dir %{_datadir}/%{name}/machines' > machines.list
|
echo '%dir %{_datadir}/%{name}/machines' > machines.list
|
||||||
find %{buildroot}%{_datadir}/%{name}/machines -type f >> machines.list
|
find %{buildroot}%{_datadir}/%{name}/machines -type f >> machines.list
|
||||||
|
|
||||||
|
echo '%dir %{_datadir}/%{name}/ovirt' > ovirt.list
|
||||||
|
find %{buildroot}%{_datadir}/%{name}/ovirt -type f >> ovirt.list
|
||||||
|
|
||||||
# on CentOS systems we don't have the required setroubleshoot-server packages
|
# on CentOS systems we don't have the required setroubleshoot-server packages
|
||||||
%if 0%{?centos}
|
%if 0%{?centos}
|
||||||
rm -rf %{buildroot}%{_datadir}/%{name}/selinux
|
rm -rf %{buildroot}%{_datadir}/%{name}/selinux
|
||||||
@ -278,6 +287,8 @@ cat kdump.list subscriptions.list sosreport.list networkmanager.list selinux.lis
|
|||||||
# -------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------
|
||||||
# Sub-packages
|
# Sub-packages
|
||||||
|
|
||||||
|
%define __lib lib
|
||||||
|
|
||||||
%package bridge
|
%package bridge
|
||||||
Summary: Cockpit bridge server-side component
|
Summary: Cockpit bridge server-side component
|
||||||
Requires: glib-networking
|
Requires: glib-networking
|
||||||
@ -318,6 +329,18 @@ The Cockpit components for managing virtual machines.
|
|||||||
|
|
||||||
%files machines -f machines.list
|
%files machines -f machines.list
|
||||||
|
|
||||||
|
%package ovirt
|
||||||
|
Summary: Cockpit user interface for oVirt virtual machines
|
||||||
|
Requires: %{name}-bridge >= 122
|
||||||
|
Requires: %{name}-system >= 122
|
||||||
|
Requires: libvirt
|
||||||
|
Requires: libvirt-client
|
||||||
|
|
||||||
|
%description ovirt
|
||||||
|
The Cockpit components for managing oVirt virtual machines.
|
||||||
|
|
||||||
|
%files ovirt -f ovirt.list
|
||||||
|
|
||||||
%package ostree
|
%package ostree
|
||||||
Summary: Cockpit user interface for rpm-ostree
|
Summary: Cockpit user interface for rpm-ostree
|
||||||
# Requires: Uses new translations functionality
|
# Requires: Uses new translations functionality
|
||||||
@ -354,15 +377,16 @@ Cockpit support for reading PCP metrics and loading PCP archives.
|
|||||||
|
|
||||||
%if %{defined build_dashboard}
|
%if %{defined build_dashboard}
|
||||||
%package dashboard
|
%package dashboard
|
||||||
Summary: Cockpit SSH remoting and dashboard
|
Summary: Cockpit remote servers and dashboard
|
||||||
Requires: libssh >= %{libssh_version}
|
Requires: libssh >= %{libssh_version}
|
||||||
Provides: %{name}-ssh
|
Provides: %{name}-ssh = %{version}-%{release}
|
||||||
# nothing depends on the dashboard, but we can't use it with older versions of the bridge
|
# nothing depends on the dashboard, but we can't use it with older versions of the bridge
|
||||||
Conflicts: %{name}-bridge < 135
|
Conflicts: %{name}-bridge < 135
|
||||||
Conflicts: %{name}-ws < 135
|
Conflicts: %{name}-ws < 135
|
||||||
|
|
||||||
%description dashboard
|
%description dashboard
|
||||||
Cockpit support for remoting to other servers, bastion hosts, and a basic dashboard
|
Cockpit support for connecting to remote servers (through ssh),
|
||||||
|
bastion hosts, and a basic dashboard.
|
||||||
|
|
||||||
%files dashboard -f dashboard.list
|
%files dashboard -f dashboard.list
|
||||||
%{_libexecdir}/cockpit-ssh
|
%{_libexecdir}/cockpit-ssh
|
||||||
@ -388,18 +412,39 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# storaged on RHEL 7.4 and Fedora < 27, udisks on newer ones
|
||||||
|
# Recommends: not supported in RHEL < 8
|
||||||
%package storaged
|
%package storaged
|
||||||
Summary: Cockpit user interface for storage, using Storaged
|
Summary: Cockpit user interface for storage, using Storaged
|
||||||
Requires: %{name}-shell >= 122
|
Requires: %{name}-shell >= 122
|
||||||
|
%if (0%{?rhel} == 7 && "%{os_version_id}" == "7.4") || 0%{?centos} == 7
|
||||||
Requires: storaged >= 2.1.1
|
Requires: storaged >= 2.1.1
|
||||||
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
|
|
||||||
Recommends: storaged-lvm2 >= 2.1.1
|
|
||||||
Recommends: storaged-iscsi >= 2.1.1
|
|
||||||
Recommends: device-mapper-multipath
|
|
||||||
%else
|
|
||||||
Requires: storaged-lvm2 >= 2.1.1
|
Requires: storaged-lvm2 >= 2.1.1
|
||||||
Requires: storaged-iscsi >= 2.1.1
|
Requires: storaged-iscsi >= 2.1.1
|
||||||
Requires: device-mapper-multipath
|
Requires: device-mapper-multipath
|
||||||
|
%else
|
||||||
|
%if 0%{?rhel} == 7
|
||||||
|
Requires: udisks2 >= 2.6
|
||||||
|
# FIXME: udisks2 modules not yet available on 7.5
|
||||||
|
%if "%{os_version_id}" != "7.5"
|
||||||
|
Requires: udisks2-lvm2 >= 2.6
|
||||||
|
Requires: udisks2-iscsi >= 2.6
|
||||||
|
%endif
|
||||||
|
Requires: device-mapper-multipath
|
||||||
|
%else
|
||||||
|
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
|
||||||
|
Requires: udisks2 >= 2.6
|
||||||
|
Recommends: udisks2-lvm2 >= 2.6
|
||||||
|
Recommends: udisks2-iscsi >= 2.6
|
||||||
|
Recommends: device-mapper-multipath
|
||||||
|
%else
|
||||||
|
# Fedora < 27
|
||||||
|
Requires: storaged >= 2.1.1
|
||||||
|
Recommends: storaged-lvm2 >= 2.1.1
|
||||||
|
Recommends: storaged-iscsi >= 2.1.1
|
||||||
|
Recommends: device-mapper-multipath
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -449,7 +494,7 @@ Summary: Tests for Cockpit
|
|||||||
Requires: %{name}-bridge >= 138
|
Requires: %{name}-bridge >= 138
|
||||||
Requires: %{name}-system >= 138
|
Requires: %{name}-system >= 138
|
||||||
Requires: openssh-clients
|
Requires: openssh-clients
|
||||||
Provides: %{name}-test-assets
|
Provides: %{name}-test-assets = %{version}-%{release}
|
||||||
Obsoletes: %{name}-test-assets < 132
|
Obsoletes: %{name}-test-assets < 132
|
||||||
|
|
||||||
%description tests
|
%description tests
|
||||||
@ -459,7 +504,7 @@ These files are not required for running Cockpit.
|
|||||||
%files tests
|
%files tests
|
||||||
%config(noreplace) %{_sysconfdir}/cockpit/cockpit.conf
|
%config(noreplace) %{_sysconfdir}/cockpit/cockpit.conf
|
||||||
%{_datadir}/%{name}/playground
|
%{_datadir}/%{name}/playground
|
||||||
%{_prefix}/lib/cockpit-test-assets
|
%{_prefix}/%{__lib}/cockpit-test-assets
|
||||||
|
|
||||||
%package integration-tests
|
%package integration-tests
|
||||||
Summary: Integration tests for Cockpit
|
Summary: Integration tests for Cockpit
|
||||||
@ -468,7 +513,11 @@ Requires: expect
|
|||||||
Requires: libvirt
|
Requires: libvirt
|
||||||
Requires: libvirt-client
|
Requires: libvirt-client
|
||||||
Requires: libvirt-daemon
|
Requires: libvirt-daemon
|
||||||
|
%if 0%{?rhel}%{?centos} == 0 || 0%{?rhel} >= 8 || 0%{?centos} >= 8
|
||||||
|
Requires: python2-libvirt
|
||||||
|
%else
|
||||||
Requires: libvirt-python
|
Requires: libvirt-python
|
||||||
|
%endif
|
||||||
Requires: qemu-kvm
|
Requires: qemu-kvm
|
||||||
Requires: npm
|
Requires: npm
|
||||||
Requires: python2
|
Requires: python2
|
||||||
@ -506,7 +555,7 @@ The Cockpit Web Service listens on the network, and authenticates users.
|
|||||||
%config(noreplace) %{_sysconfdir}/pam.d/cockpit
|
%config(noreplace) %{_sysconfdir}/pam.d/cockpit
|
||||||
%{_unitdir}/cockpit.service
|
%{_unitdir}/cockpit.service
|
||||||
%{_unitdir}/cockpit.socket
|
%{_unitdir}/cockpit.socket
|
||||||
%{_prefix}/lib/firewalld/services/cockpit.xml
|
%{_prefix}/%{__lib}/firewalld/services/cockpit.xml
|
||||||
%{_sbindir}/remotectl
|
%{_sbindir}/remotectl
|
||||||
%{_libdir}/security/pam_ssh_add.so
|
%{_libdir}/security/pam_ssh_add.so
|
||||||
%{_libexecdir}/cockpit-ws
|
%{_libexecdir}/cockpit-ws
|
||||||
@ -663,6 +712,11 @@ via PackageKit.
|
|||||||
|
|
||||||
# The changelog is automatically generated and merged
|
# The changelog is automatically generated and merged
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 17 2017 Martin Pitt <martin@piware.de> - 153-1
|
||||||
|
|
||||||
|
- Add cockpit-ovirt package to control oVirt virtual machine clusters
|
||||||
|
- Clean up rpmlint/lintian errors in the packages
|
||||||
|
|
||||||
* Fri Oct 06 2017 Martin Pitt <martin@piware.de> - 152-1
|
* Fri Oct 06 2017 Martin Pitt <martin@piware.de> - 152-1
|
||||||
|
|
||||||
- Add Applications page
|
- Add Applications page
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (cockpit-152.tar.xz) = 2111ba7d48324e7a153453c119006d04cbe94021cccd66c3953cb67ddde4ea2a122b40ac17e0ec25650c30fea86e1c4cf6c52587e6b6ff4d6a30a6446c80aad2
|
SHA512 (cockpit-153.tar.xz) = 65ccd33bd00f0afe9471b4ae8d0c94aeb5f72c7e457bca10bb281c965854e0c0ec6bcb82f30875222199e81e6a7d3c788edaf2e8e1a38f5d442880c808453a03
|
||||||
|
Loading…
Reference in New Issue
Block a user