From 5d056f7d709ece30c6c61f7043578c59903097f3 Mon Sep 17 00:00:00 2001 From: David Imhoff Date: Sun, 29 Jun 2014 21:30:46 +0200 Subject: [PATCH 1/2] Updated Scapy to 2.2.0 --- specs/scapy/scapy.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/specs/scapy/scapy.spec b/specs/scapy/scapy.spec index 402ecf04f..bdc1dde1e 100644 --- a/specs/scapy/scapy.spec +++ b/specs/scapy/scapy.spec @@ -6,7 +6,7 @@ Summary: Interactive packet manipulation tool and network scanner Name: scapy -Version: 2.0.0.10 +Version: 2.2.0 Release: 1%{?dist} License: GPL Group: Applications/Internet @@ -16,8 +16,8 @@ Source: http://www.secdev.org/projects/scapy/files/scapy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch -BuildRequires: python >= 2.4 -Requires: python >= 2.4, nmap +BuildRequires: python >= 2.5 +Requires: python >= 2.5, nmap %description Scapy is a powerful interactive packet manipulation tool, packet generator, @@ -53,6 +53,9 @@ the interpretor, and restored the next time you launch scapy. %{python_sitelib} %changelog +* Fri Jun 27 2014 David Imhoff - 2.2.0-1 +- Updated to release 2.2.0. + * Sat Oct 11 2008 Dag Wieers - 2.0.0.10-1 - Updated to release 2.0.0.10. From 15e0d9ab827a9475f8dc1b63c6a7933f5c03428d Mon Sep 17 00:00:00 2001 From: David Imhoff Date: Wed, 30 Jul 2014 09:34:43 +0200 Subject: [PATCH 2/2] Scapy >= 2.x requires Python 2.5, exclude EL5 and older. --- specs/scapy/scapy.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs/scapy/scapy.spec b/specs/scapy/scapy.spec index bdc1dde1e..46a8b87d7 100644 --- a/specs/scapy/scapy.spec +++ b/specs/scapy/scapy.spec @@ -2,6 +2,9 @@ # Authority: dag # Upstream: Philippe Biondi +### Requires python >= 2.5 +# ExcludeDist: el3 el4 el5 + %define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()') Summary: Interactive packet manipulation tool and network scanner