Update scapy to 2.0.0.9 in devel.
This commit is contained in:
parent
8c33e264f3
commit
e2eee06b16
@ -1 +1 @@
|
||||
scapy-1.1.1.tar.gz
|
||||
scapy-2.0.0.9.tar.gz
|
||||
|
||||
24
scapy.spec
24
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 <dgoodwin@dangerouslyinc.com> 2.0.0.9-2
|
||||
- Update for Scapy 2.0.0.9.
|
||||
|
||||
* Tue Jan 22 2008 Devan Goodwin <dgoodwin@dangerouslyinc.com> 1.1.1-4
|
||||
- Switch to using rm macro.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user