diff --git a/.gitignore b/.gitignore index 70000ae..8b9ca55 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ scapy-2.0.0.10.tar.gz /scapy-2.3.1.zip /scapy-2.3.3.tar.gz /scapy-2.4.0rc5.tar.gz +/scapy-2.4.0.tar.gz diff --git a/scapy.spec b/scapy.spec index 5d1530f..76f0de0 100644 --- a/scapy.spec +++ b/scapy.spec @@ -1,21 +1,20 @@ +Name: scapy +Version: 2.4.0 +Release: 1%{?dist} +Summary: Interactive packet manipulation tool and network scanner + %global gituser secdev %global gitname scapy -%global commit e42ecdc54556c4852ca06b1a6da6c1ccbf3f522e +%global commit ae348f8611529fe20dcd703e2bd37f20322c4535 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global rcversion rc5 -Name: scapy -Version: 2.4.0 -Release: 0.%{rcversion}.1%{?dist} -Summary: Interactive packet manipulation tool and network scanner Group: Applications/Internet License: GPLv2 URL: http://www.secdev.org/projects/scapy/ # https://github.com/secdev/scapy/releases # https://bitbucket.org/secdev/scapy/pull-request/80 -Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}%{rcversion}.tar.gz#/%{name}-%{version}%{rcversion}.tar.gz -Patch0: scapy-2.2.0-xdg-open.patch +Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2 >= 2.5 @@ -60,9 +59,7 @@ requests and replies, and much more. %prep -%setup -q -n %{name}-%{version}%{rcversion} -%patch0 -p1 - +%autosetup -p 1 -n %{name}-%{version} %build @@ -138,6 +135,9 @@ cd test/ %changelog +* Mon Apr 30 2018 Michal Ambroz - 2.4.0-1 +- bump to 2.4.0 release + * Fri Mar 9 2018 Michal Ambroz - 2.4.0-0.rc5.1 - bump to upstream 2.4.0 release candidate 5 - enable separate python3 and python2 build diff --git a/sources b/sources index 5ae18e2..8b09b85 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scapy-2.4.0rc5.tar.gz) = 943604feb25a682b1ef68e42ecdbe7abc2e95d062a812628bd3fda8d644b4a53376aef8da69fd82ef1aad9031b7b6b768052e10e9b54f345088dede366718f48 +SHA512 (scapy-2.4.0.tar.gz) = 0fe80150cd83db7735c9d0b70ec832a4e68eb5160ad8559e9b1bd79c52a9950ef7c9555ea2a1ee1dc8df1f055a885c52552c29e304faf40250ce9c502a5f870a