diff --git a/baselibs.conf b/baselibs.conf index bf78f8e..3b862da 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libsepol1 +libsepol2 diff --git a/libsepol-3.1.tar.gz b/libsepol-3.1.tar.gz deleted file mode 100644 index 73474e7..0000000 --- a/libsepol-3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc -size 473842 diff --git a/libsepol-3.2.tar.gz b/libsepol-3.2.tar.gz new file mode 100644 index 0000000..276a2d3 --- /dev/null +++ b/libsepol-3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfc7f662af8000116e56a01de6a0394ed79be1b34b999e551346233c5dd19508 +size 477749 diff --git a/libsepol.changes b/libsepol.changes index c255d6f..b43e218 100644 --- a/libsepol.changes +++ b/libsepol.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 9 09:11:42 UTC 2021 - Johannes Segitz + +- Update to version 3.2 + * more space-efficient form of storing filename transitions in the binary + policy and reduced the size of the binary policy + * dropped old and deprecated symbols and functions. Version was bumped to + libsepol.so.2 + ------------------------------------------------------------------- Thu Oct 29 10:40:16 UTC 2020 - Ludwig Nussel diff --git a/libsepol.spec b/libsepol.spec index aeac6cf..4f0768f 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -1,7 +1,7 @@ # # spec file for package libsepol # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,16 @@ # +%define libname libsepol2 + Name: libsepol -Version: 3.1 +Version: 3.2 Release: 0 Summary: SELinux binary policy manipulation library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ URL: https://github.com/SELinuxProject/selinux/wiki/Releases -Source: https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz +Source: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz Source2: baselibs.conf BuildRequires: flex BuildRequires: pkgconfig @@ -47,11 +49,11 @@ tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings. -%package -n libsepol1 +%package -n %{libname} Summary: SELinux binary policy manipulation library Group: System/Libraries -%description -n libsepol1 +%description -n %{libname} libsepol provides an API for the manipulation of SELinux binary policies. It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform @@ -66,8 +68,8 @@ Security.) %package devel Summary: Development files for SELinux's binary policy manipulation library Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} Requires: glibc-devel -Requires: libsepol1 = %{version} %description devel The libsepol-devel package contains the libraries and header files @@ -95,8 +97,8 @@ make %{?_smp_mflags} %install %make_install LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" -%post -n libsepol1 -p /sbin/ldconfig -%postun -n libsepol1 -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig %files utils %defattr(-,root,root) @@ -104,7 +106,7 @@ make %{?_smp_mflags} %{_mandir}/man8/*.8%{ext_man} %{_mandir}/ru/man8/*.8%{ext_man} -%files -n libsepol1 +%files -n %{libname} %defattr(-,root,root) %{_libdir}/libsepol.so.*