diff --git a/netaddr-0.7.5.tar.bz2 b/netaddr-0.7.5.tar.bz2 deleted file mode 100644 index 8fe1125..0000000 --- a/netaddr-0.7.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ec33a6b0a155d67734c670f33d77d9efb42a9cffb3e4e0763549c9791e4c005d -size 922309 diff --git a/netaddr-0.7.6.tar.bz2 b/netaddr-0.7.6.tar.bz2 new file mode 100644 index 0000000..1651e9c --- /dev/null +++ b/netaddr-0.7.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f147e05d3480acc79758ad49405414a19b9c9a7d940948d1a5836a78cf75f8b +size 927647 diff --git a/python-netaddr.changes b/python-netaddr.changes index 3c05c54..edcaf48 100644 --- a/python-netaddr.changes +++ b/python-netaddr.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Tue Sep 20 13:43:05 UTC 2011 - saschpe@suse.de + +- Changed license to 'BSD-3-Clause' (SPDX style) + +------------------------------------------------------------------- +Tue Sep 20 13:40:39 UTC 2011 - saschpe@suse.de + +- Fixed non-executable script rpmlint warning +- Readded dependency on python-setuptools (with python-distribute): + You can't simply remove this, it will break RPMs update mechanism! +- Preparatory stuff belongs into the %prep section and the %clean + section has a sane default + +------------------------------------------------------------------- +Wed Sep 14 00:32:39 UTC 2011 - alexandre@exatati.com.br + +- Regenerate spec file with py2pack; +- Removed unneded python-setuptools BuildRequires; +- Update to 0.7.6: + * A bug fix point release + * Refreshed 3rd party data caches + * Tested against Python 3.2.x and PyPy 1.6.x + * Fixed unit tests under for Mac OSX + Specific bug fixes addressed in this release + -------------------------------------------- + * FIXED Issue 15 - http://github.com/drkjam/netaddr/issues/15 + - Incorrect and invalid glob produced when last octet is not * + * FIXED Issue 13 - http://github.com/drkjam/netaddr/issues/13 + - Added support for IPython 0.11 API changes. Thanks juliantaylor + * FIXED Issue 11 - http://github.com/drkjam/netaddr/issues/11 + - Calling valid_glob on cidr raises ValueError. Thanks radicand + * FIXED Issue 7 - http://github.com/drkjam/netaddr/issues/7 + - Unpickling Bug in IPSet. Thanks LuizOz and labeneator + * FIXED Issue 2 - http://github.com/drkjam/netaddr/issues/2 + - UnboundLocalError raised in IPNetwork constructor. Thanks keesbos + + Miscellanea + ----------- + - Has a famous soft drink company started making it own NICs? + ------------------------------------------------------------------- Thu Mar 3 09:51:36 UTC 2011 - saschpe@suse.de diff --git a/python-netaddr.spec b/python-netaddr.spec index 2ed6c0c..9ca2ffc 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -11,29 +11,28 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. - +# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - Name: python-netaddr -Version: 0.7.5 -Release: 6 -License: BSD3c +Version: 0.7.6 +Release: 0 +Url: http://github.com/drkjam/netaddr Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses -Url: http://code.google.com/p/netaddr -Group: Development/Libraries/Python +License: BSD-3-Clause +Group: Development/Languages/Python Source: netaddr-%{version}.tar.bz2 -BuildRequires: python-devel -BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-distribute %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description A pure Python network address representation and manipulation library. @@ -54,16 +53,19 @@ Included are routines for: %prep %setup -q -n netaddr-%{version} -chmod -x AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS # remove executable bit from docs +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 +python setup.py build %install -%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%files -f INSTALLED_FILES -%defattr(-,root,root) +%files +%defattr(-,root,root,-) +%{python_sitelib}/* +%{_bindir}/netaddr %doc AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS %changelog