libselinux update to 3.1
Signed-off-by: gaoyusong <gaoyusong1@huawei.com>
This commit is contained in:
parent
f5b818a636
commit
e74029da4c
Binary file not shown.
BIN
libselinux-3.1.tar.gz
Normal file
BIN
libselinux-3.1.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,13 @@
|
|||||||
%global ruby_inc %(pkg-config --cflags ruby)
|
%global ruby_inc %(pkg-config --cflags ruby)
|
||||||
%global libsepol_version 2.8-1
|
%global libsepol_version 2.8
|
||||||
|
|
||||||
Name: libselinux
|
Name: libselinux
|
||||||
Version: 2.9
|
Version: 3.1
|
||||||
Release: 2
|
Release: 1
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Summary: SELinux library and simple utilities
|
Summary: SELinux library and simple utilities
|
||||||
Url: https://github.com/SELinuxProject/selinux/wiki
|
Url: https://github.com/SELinuxProject/selinux/wiki
|
||||||
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libselinux-2.9.tar.gz
|
Source0: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20180524/libselinux-3.1.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc python3-devel systemd swig pcre2-devel xz-devel
|
BuildRequires: gcc python3-devel systemd swig pcre2-devel xz-devel
|
||||||
BuildRequires: python2-devel ruby-devel libsepol-static >= %{libsepol_version}
|
BuildRequires: python2-devel ruby-devel libsepol-static >= %{libsepol_version}
|
||||||
@ -16,7 +16,6 @@ Requires: libsepol >= %{libsepol_version} pcre2
|
|||||||
Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138
|
Conflicts: filesystem < 3, selinux-policy-base < 3.13.1-138
|
||||||
|
|
||||||
Provides: %{name}-utils
|
Provides: %{name}-utils
|
||||||
Obsoletes: %{name}-utils
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libselinux provides an interface to get and set process and file
|
libselinux provides an interface to get and set process and file
|
||||||
@ -28,7 +27,6 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
Requires: libsepol-devel >= %{libsepol_version}
|
Requires: libsepol-devel >= %{libsepol_version}
|
||||||
|
|
||||||
Provides: %{name}-static
|
Provides: %{name}-static
|
||||||
Obsoletes: %{name}-static
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libselinux provides an interface to get and set process and file
|
libselinux provides an interface to get and set process and file
|
||||||
@ -114,6 +112,7 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
|
|||||||
%{_sbindir}/{selabel_lookup_best_match,selabel_partial_match,selinux_check_access}
|
%{_sbindir}/{selabel_lookup_best_match,selabel_partial_match,selinux_check_access}
|
||||||
%{_sbindir}/{avcstat,getenforce,getsebool,matchpathcon,sefcontext_compile,selinuxconlist}
|
%{_sbindir}/{avcstat,getenforce,getsebool,matchpathcon,sefcontext_compile,selinuxconlist}
|
||||||
%{_sbindir}/{selinuxdefcon,selinuxexeccon,selinuxenabled,setenforce,selabel_digest,selabel_lookup}
|
%{_sbindir}/{selinuxdefcon,selinuxexeccon,selinuxenabled,setenforce,selabel_digest,selabel_lookup}
|
||||||
|
%{_sbindir}/{selabel_get_digests_all_partial_matches,validatetrans}
|
||||||
%dir %{_rundir}/setrans/
|
%dir %{_rundir}/setrans/
|
||||||
%{_tmpfilesdir}/libselinux.conf
|
%{_tmpfilesdir}/libselinux.conf
|
||||||
|
|
||||||
@ -125,10 +124,12 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
|
|||||||
|
|
||||||
%files -n python2-libselinux
|
%files -n python2-libselinux
|
||||||
%{python2_sitearch}/selinux/
|
%{python2_sitearch}/selinux/
|
||||||
%{python2_sitearch}/_selinux.so
|
%{python2_sitearch}/selinux-%{version}-*
|
||||||
|
%{python2_sitearch}/_selinux
|
||||||
|
|
||||||
%files -n python3-libselinux
|
%files -n python3-libselinux
|
||||||
%{python3_sitearch}/selinux/
|
%{python3_sitearch}/selinux/
|
||||||
|
%{python3_sitearch}/selinux-%{version}-*
|
||||||
%{python3_sitearch}/_selinux.*.so
|
%{python3_sitearch}/_selinux.*.so
|
||||||
|
|
||||||
%files ruby
|
%files ruby
|
||||||
@ -142,6 +143,9 @@ mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist
|
|||||||
%{_mandir}/ru/man8/*
|
%{_mandir}/ru/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 18 2020 gaoyusong<gaoyusong1@huawei.com> - 3.1-1
|
||||||
|
- libselinux Update to 3.1
|
||||||
|
|
||||||
* Tue Aug 18 2020 wenzhanli<wenzhanli2@huawei.com> - 2.9-2
|
* Tue Aug 18 2020 wenzhanli<wenzhanli2@huawei.com> - 2.9-2
|
||||||
- add release version for update
|
- add release version for update
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user