switch to recommended python build dependencies
This commit is contained in:
parent
1e9c1bb99a
commit
eafb5d0e5c
13
scapy.spec
13
scapy.spec
@ -1,6 +1,6 @@
|
||||
Name: scapy
|
||||
Version: 2.4.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Interactive packet manipulation tool and network scanner
|
||||
|
||||
%global gituser secdev
|
||||
@ -33,14 +33,14 @@ BuildArch: noarch
|
||||
BuildRequires: sed
|
||||
|
||||
%if 0%{?with_python2}
|
||||
BuildRequires: python2 >= 2.5
|
||||
BuildRequires: python2-devel >= 2.5
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
%endif # if with_python2
|
||||
|
||||
BuildRequires: python%{python3_pkgversion}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
|
||||
%if (0%{?fedora}) || ( 0%{?rhel} && 0%{?rhel} >= 8 )
|
||||
%if (0%{?fedora}) || ( 0%{?rhel} && 0%{?rhel} >= 8 )
|
||||
Recommends: tcpdump
|
||||
# Using database of manufactures /usr/share/wireshark/manuf
|
||||
Recommends: wireshark-cli
|
||||
@ -173,6 +173,9 @@ ln -s %{_bindir}/UTscapy3 %{buildroot}%{_bindir}/UTscapy
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Oct 06 2019 Michal Ambroz <rebus _AT seznam.cz> - 2.4.3-2
|
||||
- change to recommended python build dependencies for EPEL7 - thanks Miro Hroncok
|
||||
|
||||
* Thu Sep 26 2019 Michal Ambroz <rebus _AT seznam.cz> - 2.4.3-1
|
||||
- bump to 2.4.3 release
|
||||
- change the python2 to conditional build to be able to keep one spec for all
|
||||
|
||||
Loading…
Reference in New Issue
Block a user