From faf6108c6a7733d0c25076f8e8990f2de4d4cf28 Mon Sep 17 00:00:00 2001 From: Dalibor Pospisil Date: Tue, 2 May 2023 13:20:38 +0200 Subject: [PATCH] use native upstream selinux policy v0.6 --- CI/fapolicyd.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/CI/fapolicyd.spec b/CI/fapolicyd.spec index e316fe36..7111c274 100644 --- a/CI/fapolicyd.spec +++ b/CI/fapolicyd.spec @@ -1,6 +1,6 @@ %global selinuxtype targeted %global moduletype contrib -%define semodule_version 0.5 +%define semodule_version 0.6 Summary: Application Whitelisting Daemon Name: fapolicyd @@ -9,7 +9,8 @@ Release: 1 License: GPL-3.0-or-later URL: http://people.redhat.com/sgrubb/fapolicyd Source0: https://people.redhat.com/sgrubb/fapolicyd/%{name}-%{version}.tar.gz -Source1: https://github.com/linux-application-whitelisting/%{name}-selinux/archive/refs/tags/v%{semodule_version}.tar.gz#/%{name}-selinux-%{semodule_version}.tar.gz +#S#ource1: https://github.com/linux-application-whitelisting/%{name}-selinux/archive/refs/tags/v%{semodule_version}.tar.gz#/%{name}-selinux-%{semodule_version}.tar.gz +Source1: https://github.com/sopos/%{name}-selinux/archive/refs/tags/v%{semodule_version}.tar.gz#/%{name}-selinux-%{semodule_version}.tar.gz # we bundle uthash for rhel9 Source2: https://github.com/troydhanson/uthash/archive/refs/tags/v2.3.0.tar.gz#/uthash-2.3.0.tar.gz BuildRequires: gcc @@ -27,8 +28,6 @@ Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units -Patch1: fapolicyd-selinux.patch -Patch2: fapolicyd-selinux-el8.patch Patch3: fapolicyd-uthash-bundle.patch %description @@ -55,11 +54,6 @@ The %{name}-selinux package contains selinux policy for the %{name} daemon. # selinux %setup -q -D -T -a 1 -%patch1 -p1 -b .selinux -%if 0%{?rhel} == 8 -%patch2 -p1 -b .selinux-el8 -%endif - %if 0%{?rhel} != 0 # uthash %setup -q -D -T -a 2