rebuilt with python3 [release 3.1-2mamba;Fri Nov 27 2020]
This commit is contained in:
parent
350c6de4a4
commit
5b622592b0
@ -1,7 +1,7 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: libselinux
|
Name: libselinux
|
||||||
Version: 3.0
|
Version: 3.1
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: A security enhancement to Linux that allows users and administrators more control over resources access
|
Summary: A security enhancement to Linux that allows users and administrators more control over resources access
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -16,7 +16,7 @@ License: Public Domain
|
|||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libpcre-devel
|
BuildRequires: libpcre-devel
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: libsepol-devel
|
BuildRequires: libsepol-devel
|
||||||
%endif
|
%endif
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
@ -41,15 +41,17 @@ SELinux also adds finer granularity to access controls. Instead of only being ab
|
|||||||
This package contains static libraries and header files need for development.
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
%package python
|
%package -n python-selinux-py3
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Python bindings for libselinux
|
Summary: Python bindings for libselinux
|
||||||
Provides: python-libselinux = %{?epoch:%epoch:}%{version}-%{release}
|
Provides: python-libselinux = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Obsoletes: python-libselinux
|
Obsoletes: python-libselinux
|
||||||
|
Provides: libselinux-python
|
||||||
|
Obsoletes: libselinux-python
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
%{py_requires}
|
%{py3_requires}
|
||||||
|
|
||||||
%description python
|
%description -n python-selinux-py3
|
||||||
The libselinux-python package contains the python bindings for developing SELinux applications.
|
The libselinux-python package contains the python bindings for developing SELinux applications.
|
||||||
|
|
||||||
An interface for security-aware applications.
|
An interface for security-aware applications.
|
||||||
@ -96,7 +98,7 @@ cd libselinux
|
|||||||
LIBDIR=%{_libdir} \
|
LIBDIR=%{_libdir} \
|
||||||
SHLIBDIR=%{_libdir} \
|
SHLIBDIR=%{_libdir} \
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
PYTHON=%{__python36} \
|
PYTHON=%{__python3} \
|
||||||
install-pywrap
|
install-pywrap
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -133,14 +135,20 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/selinux/config
|
|||||||
%lang(ru) %{_mandir}/ru/man8/*
|
%lang(ru) %{_mandir}/ru/man8/*
|
||||||
|
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
%files python
|
%files -n python-selinux-py3
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python36_sitearch}/selinux/*
|
%{python3_sitearch}/selinux/*
|
||||||
%{python36_sitearch}/_selinux*.so
|
%{python3_sitearch}/_selinux*.so
|
||||||
%{python36_sitearch}/selinux-%{version}-py*.egg-info
|
%{python3_sitearch}/selinux-%{version}-py*.egg-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
|
||||||
|
- rebuilt with python3
|
||||||
|
|
||||||
|
* Sat Jul 11 2020 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed Dec 11 2019 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
* Wed Dec 11 2019 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user