diff --git a/.gitignore b/.gitignore index b2190c7..70c57bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ scapy-2.0.0.10.tar.gz /scapy-2.2.0.tar.gz /scapy-2.3.1.zip +/scapy-2.3.3.tar.gz diff --git a/scapy.spec b/scapy.spec index ea30094..9c04bae 100644 --- a/scapy.spec +++ b/scapy.spec @@ -1,13 +1,19 @@ +%global gituser secdev +%global gitname scapy +%global commit 6c331b78aaeef7af53035760698b1d7d6afeb9a7 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + Name: scapy -Version: 2.3.1 -Release: 4%{?dist} +Version: 2.3.3 +Release: 1%{?dist} Summary: Interactive packet manipulation tool and network scanner Group: Applications/Internet License: GPLv2 URL: http://www.secdev.org/projects/scapy/ -Source0: http://www.secdev.org/projects/scapy/files/scapy-%{version}.zip +#Source0: http://www.secdev.org/projects/scapy/files/scapy-%{version}.zip # https://bitbucket.org/secdev/scapy/pull-request/80 +Source0: https://github.com/%{gituser}/%{gitname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: scapy-2.2.0-xdg-open.patch BuildArch: noarch @@ -23,10 +29,7 @@ a wide number of protocols, send them over the wire, capture them, match requests and replies, and much more. %prep -# setup assumes tar file while it's a zip -rm -rf %{_builddir}/%{name}-%{version}/ -unzip %{SOURCE0} -%setup -T -D +%setup -q %patch0 -p1 %build @@ -57,6 +60,9 @@ done %{python2_sitelib}/scapy-*.egg-info %changelog +* Tue May 23 2017 Michal Ambroz - 2.3.3-1 +- bump to upstream 2.3.3 + * Sat Feb 11 2017 Fedora Release Engineering - 2.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 062e47b..c862ffc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -46f4ef88b676daebd3053bbd2ee16425 scapy-2.3.1.zip +SHA512 (scapy-2.3.3.tar.gz) = 47ca2eceafe7b693c569a92c106782037d869c323aaaec41cace07dfdeb3c6a7e9f7bc8ca1150b3c0daea54e6665f93eb1dfc3c511419cfa28eb2e0753bf9ba4