Accepting request 985849 from home:rfrohl:branches:security
libseccomp: enable python3-seccomp via multibuild OBS-URL: https://build.opensuse.org/request/show/985849 OBS-URL: https://build.opensuse.org/package/show/security/libseccomp?expand=0&rev=101
This commit is contained in:
parent
82bf1b54a2
commit
13e4ff1f24
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<flavor>python</flavor>
|
||||||
|
</multibuild>
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 29 13:05:06 UTC 2022 - Robert Frohl <rfrohl@suse.com>
|
||||||
|
|
||||||
|
- Use multibuild to get python3 support back
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 30 16:42:48 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Sat Apr 30 16:42:48 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define lname libseccomp2
|
%define lname libseccomp2
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
Name: libseccomp
|
Name: libseccomp
|
||||||
Version: 2.5.4
|
Version: 2.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -34,8 +35,7 @@ BuildRequires: automake >= 1.11
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%bcond_with python
|
%if "%{flavor}" == "python"
|
||||||
%if 0%{?with python}
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-Cython >= 0.29
|
BuildRequires: python3-Cython >= 0.29
|
||||||
%endif
|
%endif
|
||||||
@ -104,7 +104,7 @@ echo 'int main () { return 0; }' >tests/52-basic-load.c
|
|||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
--includedir="%_includedir/%name" \
|
--includedir="%_includedir/%name" \
|
||||||
%if %{with python}
|
%if "%{flavor}" == "python"
|
||||||
--enable-python \
|
--enable-python \
|
||||||
%endif
|
%endif
|
||||||
--disable-static \
|
--disable-static \
|
||||||
@ -139,7 +139,7 @@ make check
|
|||||||
%_bindir/scmp_sys_resolver
|
%_bindir/scmp_sys_resolver
|
||||||
%_mandir/man1/scmp_sys_resolver.1*
|
%_mandir/man1/scmp_sys_resolver.1*
|
||||||
|
|
||||||
%if %{with python}
|
%if "%{flavor}" == "python"
|
||||||
%files -n python3-seccomp
|
%files -n python3-seccomp
|
||||||
%python3_sitearch/seccomp-%version-py*.egg-info
|
%python3_sitearch/seccomp-%version-py*.egg-info
|
||||||
%python3_sitearch/seccomp.cpython*.so
|
%python3_sitearch/seccomp.cpython*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user