Project import/python-iptables - Diff ff85396a18...8ebbdaaa54

... ... --- a/.abf.yml
... ... +++ b/.abf.yml
... ... @@ -1,2 +1,4 @@
1
removed_sources:
2
  python-iptables-0.3.0.tar.gz: 6ba9736a8f7f4085f52f7d29c7cbeb988902565e
1 3
sources:
2
  "python-iptables-0.3.0.tar.gz": 6ba9736a8f7f4085f52f7d29c7cbeb988902565e
4
  python-iptables-0.12.0.tar.gz: b95823deb4ebb891c294123d2505b0c1ef54c94d
view file @ 8ebbdaaa54
... ... --- a/python-iptables.spec
... ... +++ b/python-iptables.spec
... ... @@ -2,14 +2,15 @@
2 2
%define	module	iptables
3 3
4 4
Name:		python-%{module}
5
Version:	0.3.0
5
Version:	0.12.0
6 6
Release:	1
7 7
Summary:	Python bindings for iptables
8
Source0:	http://pypi.python.org/packages/source/p/%{oname}/%{oname}-%{version}.tar.gz
8
Source0:	https://pypi.python.org/packages/c9/e6/069a72d0d86d19a7f54c8960c6dd0b65ad0db7e3f5733b715e59e566b39c/%{oname}-%{version}.tar.gz
9 9
License:	Apache License, Version 2.0
10 10
Group:		Development/Python
11 11
Url:		https://github.com/ldx/python-iptables
12 12
BuildRequires:	python-devel
13
BuildRequires:	python-setuptools
13 14
14 15
%description
15 16
Python bindings for iptables
... ... @@ -20,12 +21,12 @@ the standard packet filtering and manipulation framework under Linux.
21 21
%setup -q -n %{oname}-%{version}
22 22
23 23
%build
24
python setup.py build
24
%py_build
25 25
26 26
%install
27
python setup.py install --root=%{buildroot}
27
%py_install
28 28
29 29
%files
30 30
%{py_platsitedir}/iptc/*.py*
31
%{py_platsitedir}/libxtwrapper.so
32 31
%{py_platsitedir}/python_iptables*.egg-info
32
%{py_platsitedir}/libxtwrapper*.so