forked from pool/python-dnspython
dnspython 1.10.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=21
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dnspython
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%{!?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)")}
|
||||
@@ -23,13 +22,14 @@
|
||||
%define mod_name dnspython
|
||||
|
||||
Name: python-%{mod_name}
|
||||
Version: 1.9.4
|
||||
Release: 1
|
||||
Url: http://www.dnspython.org
|
||||
Version: 1.10.0
|
||||
Release: 0
|
||||
Url: http://www.dnspython.org/
|
||||
Summary: A DNS toolkit for Python
|
||||
License: http://www.dnspython.org/LICENSE
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: %{mod_name}-%{version}.tar.bz2
|
||||
Source: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz
|
||||
Source2: http://www.dnspython.org/kits/1.10.0/%{mod_name}-%{version}.tar.gz.asc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
@@ -49,10 +49,6 @@ perform queries for data of a given name, type, and class, and return an answer
|
||||
set. The low level classes allow direct manipulation of DNS zones, messages,
|
||||
names, and records.
|
||||
|
||||
dnspython originated at Nominum where it was developed to facilitate the testing
|
||||
of DNS software. Nominum has generously allowed it to be open sourced under a
|
||||
BSD-style license.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
|
||||
@@ -63,11 +59,8 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%defattr(-,root,root)
|
||||
# You may have to add additional files here (documentation and binaries mostly)
|
||||
%python_sitelib/dns*
|
||||
%if 0%{?sles_version} != 10
|
||||
|
||||
Reference in New Issue
Block a user