forked from pool/python-ipy
Accepting request 36484 from home:aledr:branches
Copy from home:aledr:branches/python-ipy via accept of submit request 36484 revision 2. Request was accepted with message: Reviewed ok, no objections since sr. OBS-URL: https://build.opensuse.org/request/show/36484 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ipy?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
21e57ab7b4
commit
5e855642f8
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:858d3f6cbd44f8600770ce6c3bbb3c76e0c8ee1d7db5ffb4f420cdab195252fb
|
||||
size 25948
|
||||
3
IPy-0.70.tar.bz2
Normal file
3
IPy-0.70.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fe96748eac141f6046d5db10b8e6e815a591308400ed8ab39fc1e7802380316
|
||||
size 20465
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 31 18:23:55 UTC 2010 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 0.70:
|
||||
* New "major" version because it may break compatibility
|
||||
* Fix __cmp__(): IP('0.0.0.0/0') and IP('0.0.0.0') are not equal
|
||||
* Fix IP.net() of the network "::/0": "::" instead of "0.0.0.0". IPy 0.63 should fix this bug, but it wasn't.
|
||||
Aditional changes from 0.64:
|
||||
* Create MANIFEST.in to fix setup.py bdist_rpm, fix by Robert Nickel
|
||||
- Spec file cleaned with spec-cleaner;
|
||||
- Building as noarch for openSUSE >= 11.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 19 12:39:49 UTC 2009 - jfunk@funktronics.ca
|
||||
|
||||
|
||||
@@ -1,15 +1,36 @@
|
||||
#
|
||||
# spec file for package
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define modname IPy
|
||||
Name: python-ipy
|
||||
Version: 0.63
|
||||
Version: 0.70
|
||||
Release: 1
|
||||
Summary: Class and Tools for Handling of IPv4 and IPv6 Addresses and Networks
|
||||
URL: http://software.inl.fr/trac/wiki/IPy
|
||||
License: BSD
|
||||
Summary: Class and Tools for Handling of IPv4 and IPv6 Addresses and Networks
|
||||
Url: http://software.inl.fr/trac/wiki/IPy
|
||||
Group: Development/Libraries/Python
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
%{py_requires}
|
||||
BuildRequires: python-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
The IP class allows a comfortable parsing and handling for most
|
||||
@@ -18,7 +39,7 @@ greatly inspired by RIPE's Perl module NET::IP's interface but
|
||||
doesn't share the implementation. It doesn't share non-CIDR netmasks,
|
||||
so funky stuff like a netmask of 0xffffff0f can't be done here.
|
||||
|
||||
Authors:
|
||||
Author:
|
||||
--------
|
||||
Victor Stinner <victor.stinner AT inl.fr>
|
||||
Maximillian Dornseif
|
||||
@@ -27,17 +48,17 @@ Authors:
|
||||
%setup -q -n %{modname}-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%doc example AUTHORS COPYING ChangeLog README
|
||||
%doc AUTHORS COPYING ChangeLog README
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user