diff --git a/cockpit.spec b/cockpit.spec index 56d7b9e..d1751e2 100644 --- a/cockpit.spec +++ b/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 - 0.29-2 +- Include selinux policy as a dep where required + +* Wed Nov 05 2024 Stef Walter - 0.29-1 +- Update to 0.29 release + * Thu Oct 16 2014 Stef Walter - 0.28-1 - Update to 0.28 release - cockpit-agent was renamed to cockpit-bridge