Include cockpit-selinux-policy as dep when on f21 and earlier

This commit is contained in:
Stef Walter 2014-11-05 08:51:05 +01:00
parent 42d4295d24
commit 00d778bc8c

View File

@ -6,7 +6,10 @@
%define extra_flags CFLAGS='-O2 -Wall -Werror' %define extra_flags CFLAGS='-O2 -Wall -Werror'
%define selinux 1 %define selinux 1
%endif %endif
%if 0%{fedora} <= 21 %if 0%{?fedora} <= 21
%define selinux 1
%endif
%if 0%{?rhel}
%define selinux 1 %define selinux 1
%endif %endif
@ -16,7 +19,7 @@ Version: %{gitcommit}
%else %else
Version: 0.29 Version: 0.29
%endif %endif
Release: 1%{?dist} Release: 2%{?dist}
Summary: A user interface for Linux servers Summary: A user interface for Linux servers
License: LGPLv2+ License: LGPLv2+
@ -80,6 +83,9 @@ Requires: lvm2
Requires: storaged Requires: storaged
Requires: cockpit-assets Requires: cockpit-assets
%if %{defined selinux}
Requires: cockpit-selinux-policy
%endif
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
@ -246,6 +252,12 @@ fi
%endif %endif
%changelog %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 * Thu Oct 16 2014 Stef Walter <stefw@redhat.com> - 0.28-1
- Update to 0.28 release - Update to 0.28 release
- cockpit-agent was renamed to cockpit-bridge - cockpit-agent was renamed to cockpit-bridge