SHA256
1
0
forked from cockpit/cockpit

- disable selinux, sosreport and machines subpackages due to missing

dependencies

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=33
This commit is contained in:
Ludwig Nussel 2020-06-09 09:10:46 +00:00 committed by Git OBS Bridge
parent 7f20616fa3
commit dc3c881a2a
2 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,8 @@
-------------------------------------------------------------------
Tue Jun 9 08:46:59 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- disable selinux and sosreport subpackages
- disable selinux, sosreport and machines subpackages due to missing
dependencies
-------------------------------------------------------------------
Wed Apr 29 13:26:03 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -315,6 +315,10 @@ find -L * -type l -printf "%H\n" | sort -u | xargs rm -rv
popd
# need this in SUSE as post build checks dislike stale symlinks
install -m 644 -D /dev/null %{buildroot}/run/cockpit/motd
# remove files of not installable packages
rm -r %{buildroot}%{_datadir}/cockpit/{machines,sosreport,selinux}
rm -f %{buildroot}/%{_prefix}/share/metainfo/org.cockpit-project.cockpit-{machines,selinux,sosreport}.metainfo.xml
rm -f %{buildroot}%{_datadir}/pixmaps/cockpit-sosreport.png
%else
%global _debugsource_packages 1
%global _debuginfo_subpackages 0
@ -644,7 +648,11 @@ The Cockpit component for managing storage. This package uses udisks.
Summary: Tests for Cockpit
Requires: cockpit-bridge >= 138
Requires: cockpit-system >= 138
%if 0%{?suse_version}
Requires: openssh
%else
Requires: openssh-clients
%endif
Provides: cockpit-test-assets = %{version}-%{release}
%description -n cockpit-tests
@ -655,6 +663,7 @@ These files are not required for running Cockpit.
%config(noreplace) %{_sysconfdir}/cockpit/cockpit.conf
%{_prefix}/%{__lib}/cockpit-test-assets
%if !0%{?suse_version}
%package -n cockpit-machines
BuildArch: noarch
Summary: Cockpit user interface for virtual machines
@ -679,6 +688,7 @@ If "virt-install" is installed, you can also create new virtual machines.
%files -n cockpit-machines -f machines.list
%{_datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml
%endif
%package -n cockpit-pcp
Summary: Cockpit PCP integration