splits subpackages
(cherry picked from commit 591d3905333afb6ea49d8246d60a7a7113db5cae)
This commit is contained in:
parent
62e39c5678
commit
13963ad4b8
49
cockpit.spec
49
cockpit.spec
@ -1,7 +1,7 @@
|
||||
%bcond_with pcp
|
||||
Name: cockpit
|
||||
Version: 178
|
||||
Release: 12
|
||||
Release: 13
|
||||
Summary: A easy-to-use, integrated, glanceable, and open web-based interface for Linux servers
|
||||
License: LGPLv2+
|
||||
URL: https://cockpit-project.org/
|
||||
@ -22,10 +22,9 @@ BuildRequires: pcp-libs-devel
|
||||
%endif
|
||||
|
||||
Requires: glib-networking shadow-utils grep libpwquality coreutils NetworkManager kexec-tools openssl glib2 >= 2.37.4
|
||||
Requires: python3 python3-dbus systemd udisks2 >= 2.6 libvirt libvirt-client PackageKit
|
||||
Requires: python3 python3-dbus systemd udisks2 >= 2.6 PackageKit
|
||||
|
||||
Provides: %{name}-networkmanager %{name}-selinux %{name}-sosreport %{name}-dashboard = %{version}-%{release}
|
||||
Provides: %{name}-machines = %{version}-%{release} %{name}-machines-ovirt = %{version}-%{release} %{name}-shell %{name}-systemd
|
||||
Provides: %{name}-bridge = %{version}-%{release} %{name}-packagekit = %{version}-%{release} %{name}-storaged = %{version}-%{release}
|
||||
Provides: %{name}-system = %{version}-%{release} %{name}-ws = %{version}-%{release} %{name}-ssh %{name}-realmd
|
||||
Provides: %{name}-tuned %{name}-users %{name}-kdump
|
||||
@ -33,7 +32,6 @@ Provides: bundled(js-jquery) = 3.3.1 bundled(js-moment) = 2.22.2 bundled(n
|
||||
Provides: bundled(nodejs-promise) = 8.0.2 bundled(nodejs-requirejs) = 2.1.22 bundled(xstatic-bootstrap-datepicker-common) = 1.8.0
|
||||
|
||||
Obsoletes: %{name}-networkmanager %{name}-selinux %{name}-sosreport %{name}-dashboard < %{version}-%{release}
|
||||
Obsoletes: %{name}-machines < %{version}-%{release} %{name}-machines-ovirt < %{version}-%{release} %{name}-shell %{name}-systemd
|
||||
Obsoletes: %{name}-bridge < %{version}-%{release} %{name}-packagekit < %{version}-%{release} %{name}-storaged < %{version}-%{release}
|
||||
Obsoletes: %{name}-system < %{version}-%{release} %{name}-ws < %{version}-%{release} %{name}-ssh %{name}-realmd
|
||||
Obsoletes: %{name}-tuned %{name}-users %{name}-kdump
|
||||
@ -180,7 +178,50 @@ test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
|
||||
%doc %{_mandir}/man5/cockpit.conf.5.gz
|
||||
%doc %{_mandir}/man8/{cockpit-ws.8.gz,remotectl.8.gz,pam_ssh_add.8.gz}
|
||||
|
||||
%package -n cockpit-machines
|
||||
BuildArch: noarch
|
||||
Summary: Cockpit user interface for virtual machines
|
||||
Requires: cockpit-bridge >= 122
|
||||
Requires: cockpit-system >= 122
|
||||
Requires: libvirt
|
||||
Requires: libvirt-client
|
||||
%if 0%{?fedora}
|
||||
Requires: libvirt-dbus
|
||||
%endif
|
||||
# Optional components
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
Recommends: virt-install
|
||||
%endif
|
||||
|
||||
%description -n cockpit-machines
|
||||
The Cockpit components for managing virtual machines.
|
||||
|
||||
If "virt-install" is installed, you can also create new virtual machines.
|
||||
|
||||
%files -n cockpit-machines
|
||||
%{_datadir}/cockpit/machines
|
||||
|
||||
%package -n cockpit-machines-ovirt
|
||||
BuildArch: noarch
|
||||
Summary: Cockpit user interface for oVirt virtual machines
|
||||
Requires: cockpit-bridge >= 122
|
||||
Requires: cockpit-system >= 122
|
||||
Requires: libvirt
|
||||
Requires: libvirt-client
|
||||
|
||||
%description -n cockpit-machines-ovirt
|
||||
The Cockpit components for managing oVirt virtual machines.
|
||||
|
||||
%files -n cockpit-machines-ovirt
|
||||
%{_datadir}/cockpit/ovirt
|
||||
|
||||
%changelog
|
||||
* Tue Jan 10 2023 zhangpan <zhangpan@h-partners.com> - 178-13
|
||||
- Type:NA
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:splits subpackages cockpit-machines cockpit-machines-ovirt
|
||||
|
||||
* Tue Dec 13 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 178-12
|
||||
- strip binary file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user