automatic version update by autodist [release 3.4-1mamba;Sat Jul 16 2022]

This commit is contained in:
Automatic Build System 2024-01-06 05:44:56 +01:00
parent a6f9dae842
commit 6b8fc0acc4

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libselinux
Version: 3.3
Version: 3.4
Release: 1mamba
Summary: A security enhancement to Linux that allows users and administrators more control over resources access
Group: System/Libraries
@ -44,9 +44,9 @@ This package contains static libraries and header files need for development.
Group: System/Libraries
Summary: Python bindings for libselinux
Provides: python-libselinux = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: python-libselinux
Obsoletes: python-libselinux < 3.4
Provides: libselinux-python
Obsoletes: libselinux-python
Obsoletes: libselinux-python < 3.4
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%{py3_requires}
@ -93,6 +93,9 @@ cd libselinux
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
cd libselinux
install -d -m0755 %{buildroot}%{python3_sitelib}/selinux
%makeinstall \
LIBDIR=%{_libdir} \
SHLIBDIR=%{_libdir} \
@ -137,11 +140,15 @@ install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/selinux/config
%files -n python-selinux-py3
%defattr(-,root,root)
%{python3_sitearch}/selinux/*
%{python3_sitearch}/_selinux*.so
%{python3_sitelib}/_selinux*.so
%{python3_sitelib}/selinux/*
%{python3_sitearch}/selinux-%{version}-py*.egg-info
%endif
%changelog
* Sat Jul 16 2022 Automatic Build System <autodist@mambasoft.it> 3.4-1mamba
- automatic version update by autodist
* Thu Nov 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3-1mamba
- update to 3.3