From 6b8fc0acc4c651af45032a8fb68eb0aec2b1a2f2 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:44:56 +0100 Subject: [PATCH] automatic version update by autodist [release 3.4-1mamba;Sat Jul 16 2022] --- libselinux.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/libselinux.spec b/libselinux.spec index 2afc76c..e2d1559 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -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 3.4-1mamba +- automatic version update by autodist + * Thu Nov 18 2021 Silvan Calarco 3.3-1mamba - update to 3.3