SELinux userspace 3.4 release

Resolves: rhbz#2079276
This commit is contained in:
Petr Lautrbach 2022-05-19 13:58:46 +02:00
parent 5299dc55dd
commit 9bb4d30da6
3 changed files with 26 additions and 9 deletions

1
.gitignore vendored
View File

@ -183,3 +183,4 @@ libsepol-2.0.41.tgz
/libsepol-3.3-rc2.tar.gz
/libsepol-3.3-rc3.tar.gz
/libsepol-3.3.tar.gz
/libsepol-3.4.tar.gz

View File

@ -1,13 +1,13 @@
Summary: SELinux binary policy manipulation library
Name: libsepol
Version: 3.3
Release: 2%{?dist}
Version: 3.4
Release: 1%{?dist}
License: LGPLv2+
Source0: https://github.com/SELinuxProject/selinux/releases/download/3.3/libsepol-3.3.tar.gz
Source0: https://github.com/SELinuxProject/selinux/releases/download/3.4/libsepol-3.4.tar.gz
URL: https://github.com/SELinuxProject/selinux/wiki
# $ git clone https://github.com/fedora-selinux/selinux.git
# $ cd selinux
# $ git format-patch -N libsepol-3.3 -- libsepol
# $ git format-patch -N libsepol-3.4 -- libsepol
# $ i=1; for j in 0*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done
# Patch list start
# Patch list end
@ -48,6 +48,13 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
The libsepol-static package contains the static libraries and header files
needed for developing applications that manipulate binary policies.
%package utils
Summary: SELinux libsepol utilities
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
The libsepol-utils package contains the utilities
%prep
%autosetup -p 2 -n libsepol-%{version}
@ -68,10 +75,7 @@ mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
%make_install LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}"
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolbools
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolusers
rm -f ${RPM_BUILD_ROOT}%{_bindir}/chkcon
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man8
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/man8/gen*
rm -rf ${RPM_BUILD_ROOT}%{_mandir}/ru/man8
%files static
@ -92,7 +96,19 @@ rm -rf ${RPM_BUILD_ROOT}%{_mandir}/ru/man8
%license COPYING
%{_libdir}/libsepol.so.2
%files utils
%{_bindir}/chkcon
%{_bindir}/sepol_check_access
%{_bindir}/sepol_compute_av
%{_bindir}/sepol_compute_member
%{_bindir}/sepol_compute_relabel
%{_bindir}/sepol_validate_transition
%{_mandir}/man8/chkcon.8.gz
%changelog
* Thu May 19 2022 Petr Lautrbach <plautrba@redhat.com> - 3.4-1
- SELinux userspace 3.4 release
* Thu Nov 11 2021 Petr Lautrbach <plautrba@redhat.com> - 3.3-2
- Use correct libdir in libsepol.pc (#2018492)

View File

@ -1 +1 @@
SHA512 (libsepol-3.3.tar.gz) = fb6bb69f8e43a911a1a9cbd791593215386e93cb9292e003f5d8efe6e86e0ce5d0287e95d52fe2fbce518a618beaf9b1135aea0d04eaebcdbd8c6d07ee67b500
SHA512 (libsepol-3.4.tar.gz) = 5e47e6ac626f2bfc10a9f2f24c2e66c4d7f291ca778ebd81c7d565326e036e821d3eb92e5d7540517b1c715466232a7d7da895ab48811d037ad92d423ed934b6