From 00d778bc8ccfba1254cbad520c5b27591b58053f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 5 Nov 2014 08:51:05 +0100 Subject: [PATCH] Include cockpit-selinux-policy as dep when on f21 and earlier --- cockpit.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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