Fix last python 2 bit.

This commit is contained in:
Gwyn Ciesla 2019-08-13 08:21:24 -05:00
commit f2f18b567c
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,6 @@
Name: pcapdiff
Version: 0.1
Release: 25%{?dist}
Release: 26%{?dist}
Summary: Compares packet captures, detects forged, dropped or mangled packets
License: GPLv2+ and GPLv3+
@ -48,6 +48,9 @@ install -D -m 644 -p pcapdiff_helper.py $RPM_BUILD_ROOT%{_datadir}/pcapdiff/pcap
#%{_datadir}/pcapdiff/*.pyo
%changelog
* Tue Aug 13 2019 Gwyn Ciesla <gwync@protonmail.com> 0.1-26
- Eliminate final python 2 dep.
* Tue Aug 06 2019 Gwyn Ciesla <gwync@protonmail.com> - 0.1-25
- Python 3.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python2
#!/usr/bin/python3
if __name__ == '__main__':
import sys
sys.path.insert(0, '/usr/share/pcapdiff')