forked from pool/scamper
enable python build
OBS-URL: https://build.opensuse.org/package/show/network:utilities/scamper?expand=0&rev=59
This commit is contained in:
parent
3cfb3e1100
commit
db3c5b4063
10
scamper.spec
10
scamper.spec
@ -27,8 +27,8 @@ URL: https://www.caida.org/catalog/software/scamper/
|
||||
Source: https://www.caida.org/tools/measurement/%{name}/code/%{name}-cvs-%{version}.tar.gz
|
||||
BuildRequires: libopenssl-devel
|
||||
# for the Python module
|
||||
#BuildRequires: python3
|
||||
#BuildRequires: python3-Cython
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-Cython0
|
||||
# for sc_uptime
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
# for sc_hoiho
|
||||
@ -48,6 +48,8 @@ fragmentation required message is not returned to establish the PMTU
|
||||
to the next point in the network, followed by a TTL limited search to
|
||||
infer where the failure appears to occur.
|
||||
|
||||
This also contains the Python module.
|
||||
|
||||
%package -n libscamperfile8
|
||||
Summary: File access library for scamper's binary dump format
|
||||
Group: System/Libraries
|
||||
@ -118,8 +120,7 @@ libscamperctrl library.
|
||||
|
||||
%build
|
||||
export PYTHON=%{_bindir}/python3
|
||||
# disable --with-python for now because of an incompatibility
|
||||
%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime
|
||||
%configure --disable-static --without-debugfile --with-pcre2 --enable-sc_hoiho --enable-sc_uptime --with-python
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -137,6 +138,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_bindir}/scamper
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%{python3_sitelib}/scamper.so
|
||||
|
||||
%files -n libscamperfile8
|
||||
%{_libdir}/libscamperfile.so.*
|
||||
|
Loading…
x
Reference in New Issue
Block a user