Accepting request 1180396 from home:ldragon:branches:systemsmanagement:cockpit
- disable selinux on leap versions without selinux - set libexec dir to %_libexecdir (bsc#1223533) OBS-URL: https://build.opensuse.org/request/show/1180396 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:cockpit/cockpit?expand=0&rev=180
This commit is contained in:
parent
42302ec590
commit
df353f7598
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 11:02:10 UTC 2024 - Luna D Dragon <luna.dragon@suse.com>
|
||||
|
||||
- disable selinux on leap versions without selinux
|
||||
- set libexec dir to %_libexecdir (bsc#1223533)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 08:12:47 UTC 2024 - Luna D Dragon <luna.dragon@suse.com>
|
||||
|
||||
|
@ -101,11 +101,14 @@ Patch104: selinux_libdir.patch
|
||||
%define build_pcp 0
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1500
|
||||
# Ship custom SELinux policy
|
||||
%define selinuxtype targeted
|
||||
%define selinux_configure_arg --enable-selinux-policy=%{selinuxtype}
|
||||
%define with_selinux 1
|
||||
%else
|
||||
%define selinux_configure_arg --enable-selinux-policy=no
|
||||
%endif
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
@ -246,6 +249,7 @@ autoreconf -fvi -I tools
|
||||
--with-cockpit-ws-instance-user=cockpit-wsinstance \
|
||||
%if 0%{?suse_version}
|
||||
--docdir=%_defaultdocdir/%{name} \
|
||||
--libexecdir=%_libexecdir \
|
||||
%endif
|
||||
--with-pamdir='%{pamdir}' \
|
||||
%if %{build_pcp} == 0
|
||||
|
Loading…
Reference in New Issue
Block a user