Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec: Adjust selinux requirement for stable upstream releases #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ovirt-vmconsole.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ BuildRequires: openssh-server
BuildRequires: selinux-policy-devel
BuildRequires: selinux-policy
BuildArch: noarch

# For upstream require the version from the latest stable release.
# TODO: remove those hard-coded values once we're able
# to build RPMs in chroots based on latest stable releases.
%if 0%{?centos} == 8
%global _selinux_policy_version 3.14.3-95.el8_6.4
%endif

%if 0%{?centos} == 9
%global _selinux_policy_version 34.1.29-1.el9_0.2
%endif

%{?selinux_requires}

BuildRequires: python3-devel
Expand Down
Loading