From 5d77026e2a87b81fe25770c31b9b31960e7f2ae5 Mon Sep 17 00:00:00 2001 From: Devan Goodwin Date: Dec 21 2008 13:09:21 +0000 Subject: Update scapy to 2.0.0.9 for F-10. --- diff --git a/.cvsignore b/.cvsignore index 1ff0a46..d1af675 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -scapy-1.1.1.tar.gz +scapy-2.0.0.9.tar.gz diff --git a/scapy.spec b/scapy.spec index cf07505..a51de18 100644 --- a/scapy.spec +++ b/scapy.spec @@ -1,6 +1,8 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + Name: scapy -Version: 1.1.1 -Release: 4%{?dist} +Version: 2.0.0.9 +Release: 2%{?dist} Summary: Interactive packet manipulation tool and network scanner Group: Applications/Internet @@ -10,9 +12,9 @@ Source0: http://www.secdev.org/projects/scapy/files/scapy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python >= 2.3 +BuildRequires: python >= 2.5 -Requires: python >= 2.3 +Requires: python >= 2.5 %description Scapy is a powerful interactive packet manipulation program built on top @@ -24,22 +26,30 @@ requests and replies, and much more. %setup -q -n scapy-%{version} %build +%{__python} setup.py build %install %{__rm} -rf %{buildroot} -%{__install} -Dp -m0755 scapy.py %{buildroot}%{_bindir}/scapy -%{__install} -Dp -m0644 scapy.1 %{buildroot}%{_mandir}/man1/scapy.1 +%{__install} -Dp -m0644 doc/scapy.1.gz %{buildroot}%{_mandir}/man1/scapy.1.gz +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%{__rm} -f %{buildroot}%{python_sitelib}/*egg-info/requires.txt + %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) -%doc AUTHORS changelog COPYING README %doc %{_mandir}/man1/scapy.1* %{_bindir}/scapy +%{_bindir}/UTscapy +%{python_sitelib}/scapy/* +%{python_sitelib}/scapy-*.egg-info %changelog +* Sun Dec 07 2008 Devan Goodwin 2.0.0.9-2 +- Update for Scapy 2.0.0.9. + * Tue Jan 22 2008 Devan Goodwin 1.1.1-4 - Switch to using rm macro. diff --git a/sources b/sources index 1ed09ff..d4433ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8ac720a1bea4304797c713ef1ed063f1 scapy-1.1.1.tar.gz +953dc98dbd78fba3a80d554514581d26 scapy-2.0.0.9.tar.gz