Accepting request 912402 from security:SELinux

OBS-URL: https://build.opensuse.org/request/show/912402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsemanage?expand=0&rev=51
This commit is contained in:
Dominique Leuenberger 2021-08-24 08:53:50 +00:00 committed by Git OBS Bridge
commit 92665d5260
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Aug 16 13:13:41 UTC 2021 - Fabian Vogt <fvogt@suse.com>
- Call "make -j8 pywrap" instead of "make -j8 all pywrap" to fix random
build failures. The toplevel Makefile does not support concurrency,
and it resulted in parallel "make all" and "make pywrap" which weren't
aware of each other and stepped over the other's artifacts.
-------------------------------------------------------------------
Thu Mar 18 08:31:30 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -19,6 +19,9 @@
%define soversion 2
%define libname libsemanage%{soversion}
%define libsepol_ver 3.2
%define libselinux_ver 3.2
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-semanage
Version: 3.2
@ -37,8 +40,8 @@ BuildRequires: audit-devel
BuildRequires: bison
BuildRequires: flex
BuildRequires: libbz2-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel >= 3.2
BuildRequires: libselinux-devel >= %{libselinux_ver}
BuildRequires: libsepol-devel >= %{libsepol_ver}
BuildRequires: libustr-devel
BuildRequires: python-rpm-macros
BuildRequires: swig
@ -64,7 +67,7 @@ grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g"
LIBDIR="%{_libdir}" \
LIBEXECDIR="%{_libexecdir}" \
SHLIBDIR="%{_lib}" \
all pywrap
pywrap
}
%install