forked from jengelh/libseccomp
Add python3-setuptools BuildRequirement
This commit is contained in:
parent
a27bf0897b
commit
9b123afc16
@ -46,6 +46,7 @@ BuildRequires: pkgconfig
|
||||
%if "%flavor" == "python3"
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Cython >= 0.29
|
||||
BuildRequires: python3-setuptools
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -126,17 +127,17 @@ rm -r %buildroot/%_bindir/
|
||||
%endif
|
||||
%fdupes %buildroot/%_prefix
|
||||
|
||||
%if "%flavor" != "python3"
|
||||
%check
|
||||
export LD_LIBRARY_PATH="$PWD/src/.libs"
|
||||
make check
|
||||
%endif
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%if "%flavor" == "python3"
|
||||
%files
|
||||
%python3_sitearch/seccomp-%version-py*.egg-info
|
||||
%python3_sitearch/seccomp.cpython*.so
|
||||
%python3_sitearch/seccomp*
|
||||
%else
|
||||
|
||||
%files -n %lname
|
||||
|
Loading…
Reference in New Issue
Block a user