forked from pool/libsepol
This commit is contained in:
parent
a06fd305fa
commit
d9c6b82ffe
@ -1 +1 @@
|
|||||||
libsepol1
|
libsepol2
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc
|
|
||||||
size 473842
|
|
3
libsepol-3.2.tar.gz
Normal file
3
libsepol-3.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dfc7f662af8000116e56a01de6a0394ed79be1b34b999e551346233c5dd19508
|
||||||
|
size 477749
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 9 09:11:42 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- 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 <lnussel@suse.de>
|
Thu Oct 29 10:40:16 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsepol
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,14 +16,16 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libname libsepol2
|
||||||
|
|
||||||
Name: libsepol
|
Name: libsepol
|
||||||
Version: 3.1
|
Version: 3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SELinux binary policy manipulation library
|
Summary: SELinux binary policy manipulation library
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://github.com/SELinuxProject/selinux/wiki/Releases
|
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
|
Source2: baselibs.conf
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: pkgconfig
|
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
|
specific transformations on binary policies such as customizing
|
||||||
policy boolean settings.
|
policy boolean settings.
|
||||||
|
|
||||||
%package -n libsepol1
|
%package -n %{libname}
|
||||||
Summary: SELinux binary policy manipulation library
|
Summary: SELinux binary policy manipulation library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libsepol1
|
%description -n %{libname}
|
||||||
libsepol provides an API for the manipulation of SELinux binary
|
libsepol provides an API for the manipulation of SELinux binary
|
||||||
policies. It is used by checkpolicy (the policy compiler) and similar
|
policies. It is used by checkpolicy (the policy compiler) and similar
|
||||||
tools, as well as by programs like load_policy that need to perform
|
tools, as well as by programs like load_policy that need to perform
|
||||||
@ -66,8 +68,8 @@ Security.)
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for SELinux's binary policy manipulation library
|
Summary: Development files for SELinux's binary policy manipulation library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: libsepol1 = %{version}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libsepol-devel package contains the libraries and header files
|
The libsepol-devel package contains the libraries and header files
|
||||||
@ -95,8 +97,8 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}"
|
%make_install LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}"
|
||||||
|
|
||||||
%post -n libsepol1 -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n libsepol1 -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -104,7 +106,7 @@ make %{?_smp_mflags}
|
|||||||
%{_mandir}/man8/*.8%{ext_man}
|
%{_mandir}/man8/*.8%{ext_man}
|
||||||
%{_mandir}/ru/man8/*.8%{ext_man}
|
%{_mandir}/ru/man8/*.8%{ext_man}
|
||||||
|
|
||||||
%files -n libsepol1
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libsepol.so.*
|
%{_libdir}/libsepol.so.*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user