Include cockpit-selinux-policy as dep when on f21 and earlier
This commit is contained in:
parent
42d4295d24
commit
00d778bc8c
16
cockpit.spec
16
cockpit.spec
@ -6,7 +6,10 @@
|
||||
%define extra_flags CFLAGS='-O2 -Wall -Werror'
|
||||
%define selinux 1
|
||||
%endif
|
||||
%if 0%{fedora} <= 21
|
||||
%if 0%{?fedora} <= 21
|
||||
%define selinux 1
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
%define selinux 1
|
||||
%endif
|
||||
|
||||
@ -16,7 +19,7 @@ Version: %{gitcommit}
|
||||
%else
|
||||
Version: 0.29
|
||||
%endif
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A user interface for Linux servers
|
||||
|
||||
License: LGPLv2+
|
||||
@ -80,6 +83,9 @@ Requires: lvm2
|
||||
Requires: storaged
|
||||
|
||||
Requires: cockpit-assets
|
||||
%if %{defined selinux}
|
||||
Requires: cockpit-selinux-policy
|
||||
%endif
|
||||
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
@ -246,6 +252,12 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Nov 05 2024 Stef Walter <stefw@redhat.com> - 0.29-2
|
||||
- Include selinux policy as a dep where required
|
||||
|
||||
* Wed Nov 05 2024 Stef Walter <stefw@redhat.com> - 0.29-1
|
||||
- Update to 0.29 release
|
||||
|
||||
* Thu Oct 16 2014 Stef Walter <stefw@redhat.com> - 0.28-1
|
||||
- Update to 0.28 release
|
||||
- cockpit-agent was renamed to cockpit-bridge
|
||||
|
Loading…
Reference in New Issue
Block a user