From 27bafd2ce48869ba39899a6bb025a08d99e68e22ef23d4b4cf6dba7b6b392fea Mon Sep 17 00:00:00 2001 From: Alexandre Rogoski Date: Wed, 14 Sep 2011 00:38:31 +0000 Subject: [PATCH] - 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? OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=4 --- netaddr-0.7.5.tar.bz2 | 3 --- netaddr-0.7.6.tar.bz2 | 3 +++ python-netaddr.changes | 27 +++++++++++++++++++++++++++ python-netaddr.spec | 34 +++++++++++++++++++++------------- 4 files changed, 51 insertions(+), 16 deletions(-) delete mode 100644 netaddr-0.7.5.tar.bz2 create mode 100644 netaddr-0.7.6.tar.bz2 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..5750615 100644 --- a/python-netaddr.changes +++ b/python-netaddr.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +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 de03479..b8d298b 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -11,21 +11,23 @@ # 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/ # +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + Name: python-netaddr -Version: 0.7.5 -Release: 1 -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 License +Group: Development/Languages/Python Source: netaddr-%{version}.tar.bz2 -BuildRequires: python-devel -BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 @@ -52,16 +54,22 @@ Included are routines for: %prep %setup -q -n netaddr-%{version} -chmod -x AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS # remove executable bit from docs %build -%{__python} setup.py build +export CFLAGS="%{optflags}" +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} +%{__chmod} -x AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS # remove executable bit from docs -%files -f INSTALLED_FILES -%defattr(-,root,root) +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{python_sitelib}/* +%{_bindir}/netaddr %doc AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS %changelog