diff --git a/libselinux-fedora.patch b/libselinux-fedora.patch index 19ad942..0b22e7c 100644 --- a/libselinux-fedora.patch +++ b/libselinux-fedora.patch @@ -1,3 +1,50 @@ +diff --git libselinux-2.8/man/man3/selinux_boolean_sub.3 libselinux-2.8/man/man3/selinux_boolean_sub.3 +index 308c268..a29a38d 100644 +--- libselinux-2.8/man/man3/selinux_boolean_sub.3 ++++ libselinux-2.8/man/man3/selinux_boolean_sub.3 +@@ -1,6 +1,6 @@ + .TH "selinux_boolean_sub" "3" "11 June 2012" "dwalsh@redhat.com" "SELinux API documentation" + .SH "NAME" +-selinux_boolean_sub \- ++selinux_boolean_sub \- Search the translated name for a boolean_name record + . + .SH "SYNOPSIS" + .B #include +@@ -12,7 +12,7 @@ selinux_boolean_sub \- + searches the + .I \%/etc/selinux/{POLICYTYPE}/booleans.subs_dist + file +-for a maching boolean_name record. If the record exists the boolean substitution name is returned. If not ++for a matching boolean_name record. If the record exists the boolean substitution name is returned. If not + .BR \%selinux_boolean_sub () + returns the original + .IR \%boolean_name . +diff --git libselinux-2.8/man/man3/selinux_restorecon_xattr.3 libselinux-2.8/man/man3/selinux_restorecon_xattr.3 +index 7280c95..516d266 100644 +--- libselinux-2.8/man/man3/selinux_restorecon_xattr.3 ++++ libselinux-2.8/man/man3/selinux_restorecon_xattr.3 +@@ -119,7 +119,7 @@ By default + .BR selinux_restorecon_xattr (3) + will use the default set of specfiles described in + .BR files_contexts (5) +-to calculate the initial SHA1 digest to be used for comparision. ++to calculate the initial SHA1 digest to be used for comparison. + To change this default behavior + .BR selabel_open (3) + must be called specifying the required +diff --git libselinux-2.8/man/man5/selabel_file.5 libselinux-2.8/man/man5/selabel_file.5 +index e738824..e97bd82 100644 +--- libselinux-2.8/man/man5/selabel_file.5 ++++ libselinux-2.8/man/man5/selabel_file.5 +@@ -92,7 +92,7 @@ The optional local and distribution substitution files that perform any path ali + .RE + .sp + The default file context series of files are: +-.RS ++.RS 6 + .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts + .br + .I /etc/selinux/{SELINUXTYPE}/contexts/files/file_contexts.local diff --git libselinux-2.8/man/man8/selinux.8 libselinux-2.8/man/man8/selinux.8 index e37aee6..bf23b65 100644 --- libselinux-2.8/man/man8/selinux.8 @@ -17,6 +64,19 @@ index e37aee6..bf23b65 100644 Every confined service on the system has a man page in the following format: .br +diff --git libselinux-2.8/src/audit2why.c libselinux-2.8/src/audit2why.c +index 0331fdf..5a1e69a 100644 +--- libselinux-2.8/src/audit2why.c ++++ libselinux-2.8/src/audit2why.c +@@ -354,7 +354,7 @@ static PyObject *analyze(PyObject *self __attribute__((unused)) , PyObject *args + /* iterate over items of the list, grabbing strings, and parsing + for numbers */ + for (i=0; i= %{libsepolver} swig pcre2-devel xz-devel @@ -229,6 +229,11 @@ rm -f %{buildroot}%{_mandir}/man8/togglesebool* %{ruby_vendorarchdir}/selinux.so %changelog +* Tue Sep 4 2018 Petr Lautrbach - 2.8-4 +- Fix the whatis line for the selinux_boolean_sub.3 manpage +- Fix line wrapping in selabel_file.5 +- Fix spelling errors in manpages + * Fri Jul 13 2018 Fedora Release Engineering - 2.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild