14
0

Accepting request 63285 from devel:languages:python

Accepted submit request 63285 from user saschpe

OBS-URL: https://build.opensuse.org/request/show/63285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-netaddr?expand=0&rev=4
This commit is contained in:
Berthold Gunreben
2011-03-08 09:42:02 +00:00
committed by Git OBS Bridge
2 changed files with 17 additions and 9 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 3 09:51:36 UTC 2011 - saschpe@suse.de
- Spec file cleanup:
* Added %changelog
* Removed empty lines
* Added AUTHORS, CHANGELOG, COPYRIGHT, README, LICENSE and
THANKS files (all documentation)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 6 01:41:45 UTC 2010 - alexandre@exatati.com.br Wed Oct 6 01:41:45 UTC 2010 - alexandre@exatati.com.br

View File

@@ -15,12 +15,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: python-netaddr Name: python-netaddr
Version: 0.7.5 Version: 0.7.5
Release: 1 Release: 1
License: BSD License License: BSD3c
Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses Summary: Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
Url: http://code.google.com/p/netaddr Url: http://code.google.com/p/netaddr
Group: Development/Libraries/Python Group: Development/Libraries/Python
@@ -28,10 +26,12 @@ Source: netaddr-%{version}.tar.bz2
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires} %if 0%{?suse_version}
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} %py_requires
%if 0%{?suse_version} > 1110
BuildArch: noarch BuildArch: noarch
%endif %endif
%endif
%description %description
A pure Python network address representation and manipulation library. A pure Python network address representation and manipulation library.
@@ -50,12 +50,9 @@ Included are routines for:
- querying IEEE OUI and IAB organisational information; - querying IEEE OUI and IAB organisational information;
- querying of IP standards related data from key IANA data sources. - querying of IP standards related data from key IANA data sources.
Author:
--------
David P. D. Moss <drkjam@gmail.com>
%prep %prep
%setup -q -n netaddr-%{version} %setup -q -n netaddr-%{version}
chmod -x AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS # remove executable bit from docs
%build %build
%{__python} setup.py build %{__python} setup.py build
@@ -65,4 +62,6 @@ Author:
%files -f INSTALLED_FILES %files -f INSTALLED_FILES
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS CHANGELOG COPYRIGHT README LICENSE THANKS
%changelog %changelog