14
0

- Spec file cleanup:

* Added %changelog
  * Removed empty lines
  * Added AUTHORS, CHANGELOG, COPYRIGHT, README, LICENSE and
    THANKS files (all documentation)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-netaddr?expand=0&rev=3
This commit is contained in:
Sascha Peilicke
2011-03-03 09:55:40 +00:00
committed by Git OBS Bridge
parent 60345cf38e
commit ece004f668
2 changed files with 17 additions and 9 deletions

View File

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