Skip to content

Commit 160b6f2

Browse files
committed
The main branch of fapolicyd-selinux is main
1 parent 7159f9e commit 160b6f2

2 files changed

Lines changed: 1 addition & 47 deletions

File tree

fapolicyd-selinux-var-run.patch

Lines changed: 0 additions & 29 deletions
This file was deleted.

fapolicyd.spec

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
%if %{defined eln_build}
55
%global selinuxtype targeted
66
%global moduletype contrib
7-
%define semodule_version master
7+
%define semodule_version main
88
%endif
99

1010
Summary: Application Whitelisting Daemon
@@ -39,9 +39,6 @@ Requires(post): systemd-units
3939
Requires(preun): systemd-units
4040
Requires(postun): systemd-units
4141

42-
# applied in CI only
43-
Patch2: fapolicyd-selinux-var-run.patch
44-
4542
%description
4643
Fapolicyd (File Access Policy Daemon) implements application whitelisting
4744
to decide file access rights. Applications that are known via a reputation
@@ -80,20 +77,6 @@ The %{name}-selinux package contains selinux policy for the %{name} daemon.
8077
%endif
8178

8279

83-
%if %{defined eln_build}
84-
%if 0%{?fedora} < 40
85-
%define selinux_var_run 1
86-
%endif
87-
88-
%if 0%{?rhel} < 10
89-
%define selinux_var_run 1
90-
%endif
91-
92-
%if %{defined selinux_var_run}
93-
%patch -P2 -R -p1 -b .selinux
94-
%endif
95-
%endif
96-
9780
# generate rules for python
9881
sed -i "s|%python2_path%|`readlink -f %{__python2}`|g" rules.d/*.rules
9982
sed -i "s|%python3_path%|`readlink -f %{__python3}`|g" rules.d/*.rules

0 commit comments

Comments
 (0)