From: Arvin Schnell Date: Tue, 24 Jan 2023 10:20:45 +0000 (+0100) Subject: - enable SELinux on Fedora and RHEL X-Git-Tag: v0.10.5~63^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd2fa86107e4a0fabbf66353d7d781b6aa01da48;p=thirdparty%2Fsnapper.git - enable SELinux on Fedora and RHEL --- diff --git a/package/snapper.changes b/package/snapper.changes index f5376b83..b80a7488 100644 --- a/package/snapper.changes +++ b/package/snapper.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 24 10:56:29 CET 2023 - aschnell@suse.com + +- enable SELinux on Fedora and RHEL (gh#openSUSE/snapper#772) + ------------------------------------------------------------------- Thu Jan 19 12:00:00 PM CET 2023 - David Sterba @@ -29,7 +34,7 @@ Thu Dec 22 09:03:33 CET 2022 - aschnell@suse.com ------------------------------------------------------------------- Mon Dec 05 08:13:07 CET 2022 - aschnell@suse.com -- fix build with upcoming selinux +- fix build with upcoming SELinux - version 0.10.4 ------------------------------------------------------------------- diff --git a/snapper.spec.in b/snapper.spec.in index b21a144a..4ba6bb99 100644 --- a/snapper.spec.in +++ b/snapper.spec.in @@ -95,6 +95,7 @@ BuildRequires: libzypp(plugin:commit) BuildRequires: pam-devel %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?scientificlinux_version} BuildRequires: json-c-devel +BuildRequires: libselinux-devel %else BuildRequires: libjson-c-devel %endif @@ -139,6 +140,9 @@ autoreconf -fvi %endif %if 0%{?suse_version} <= 1310 --disable-btrfs-quota \ +%endif +%if 0%{?fedora_version} || 0%{?rhel_version} + --enable-selinux \ %endif --disable-silent-rules --disable-ext4 make %{?_smp_mflags}