SHA256
1
0
forked from pool/libseccomp
Jan Engelhardt 2022-05-02 09:10:44 +00:00 committed by Git OBS Bridge
parent 57e5cb041f
commit 82bf1b54a2

View File

@ -34,7 +34,7 @@ BuildRequires: automake >= 1.11
BuildRequires: fdupes
BuildRequires: libtool >= 2
BuildRequires: pkgconfig
%bcond_without python
%bcond_with python
%if 0%{?with python}
BuildRequires: python-rpm-macros
BuildRequires: python3-Cython >= 0.29
@ -104,7 +104,7 @@ echo 'int main () { return 0; }' >tests/52-basic-load.c
autoreconf -fiv
%configure \
--includedir="%_includedir/%name" \
%if 0%{?with python}
%if %{with python}
--enable-python \
%endif
--disable-static \
@ -139,7 +139,7 @@ make check
%_bindir/scmp_sys_resolver
%_mandir/man1/scmp_sys_resolver.1*
%if 0%{?with python}
%if %{with python}
%files -n python3-seccomp
%python3_sitearch/seccomp-%version-py*.egg-info
%python3_sitearch/seccomp.cpython*.so