14
0

Accepting request 298038 from home:benoit_monin:branches:devel:languages:python

- update to 0.7.14
- set the source URL to pypi
- remove chmod call: file mode fixed upstream

OBS-URL: https://build.opensuse.org/request/show/298038
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=14
This commit is contained in:
Michal Čihař
2015-04-20 12:57:28 +00:00
committed by Git OBS Bridge
parent f846121570
commit c669bcbf37
4 changed files with 24 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-netaddr
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: python-netaddr
Version: 0.7.13
Version: 0.7.14
Release: 0
Url: http://github.com/drkjam/netaddr
Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
License: BSD-3-Clause
Group: Development/Languages/Python
Source: netaddr-%{version}.tar.gz
Source: https://pypi.python.org/packages/source/n/netaddr/netaddr-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
@@ -55,7 +55,6 @@ Included are routines for:
%prep
%setup -q -n netaddr-%{version}
sed -i "1d" netaddr/{ip/iana,eui/ieee,tests/__init__}.py # Fix non-executable scripts
chmod -x AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS # Remove executable bit from docs
%build
python setup.py build