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"
|
%if "%flavor" == "python3"
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-Cython >= 0.29
|
BuildRequires: python3-Cython >= 0.29
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -126,17 +127,17 @@ rm -r %buildroot/%_bindir/
|
|||||||
%endif
|
%endif
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
|
%if "%flavor" != "python3"
|
||||||
%check
|
%check
|
||||||
export LD_LIBRARY_PATH="$PWD/src/.libs"
|
export LD_LIBRARY_PATH="$PWD/src/.libs"
|
||||||
make check
|
make check
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %lname
|
||||||
%postun -n %lname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if "%flavor" == "python3"
|
%if "%flavor" == "python3"
|
||||||
%files
|
%files
|
||||||
%python3_sitearch/seccomp-%version-py*.egg-info
|
%python3_sitearch/seccomp*
|
||||||
%python3_sitearch/seccomp.cpython*.so
|
|
||||||
%else
|
%else
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
|
Loading…
x
Reference in New Issue
Block a user