]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- enable SELinux on Fedora and RHEL
authorArvin Schnell <aschnell@suse.de>
Tue, 24 Jan 2023 10:20:45 +0000 (11:20 +0100)
committerArvin Schnell <aschnell@suse.de>
Tue, 24 Jan 2023 10:20:45 +0000 (11:20 +0100)
package/snapper.changes
snapper.spec.in

index f5376b83bc0ab10558a2bba06efb20637df96d18..b80a748823dea62cbc6063732481a770a7f0cd44 100644 (file)
@@ -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 <dsterba@suse.cz>
 
@@ -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
 
 -------------------------------------------------------------------
index b21a144ac019ad2de22cc3daa172d76fd3c2db88..4ba6bb99223e26d8372fc4bf8c9a67afe4f4b59f 100644 (file)
@@ -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}