Accepting request 65164 from home:aledr:branches
OBS-URL: https://build.opensuse.org/request/show/65164 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=16
This commit is contained in:
parent
04c40b5968
commit
adbf7a6804
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51f326ea38d1ec5b3642a67f3aabfe033b7e73e4d9540507d15bd93cdb0d226a
|
||||
size 96478
|
3
dnspython-1.9.3.tar.bz2
Normal file
3
dnspython-1.9.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ae41e752e8ccffae3177560573ef458381551fb0d96c20f511848ca47881f86
|
||||
size 95838
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 24 18:34:32 UTC 2011 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 1.9.3:
|
||||
Bugs fixed since 1.9.2:
|
||||
- Dnspython was erroneously doing case-insensitive comparisons
|
||||
of the names in NSEC and RRSIG RRs.
|
||||
- We now use "is" and not "==" when testing what section an RR
|
||||
is in.
|
||||
- The resolver now disallows metaqueries.
|
||||
New since 1.9.2:
|
||||
- A boolean parameter, 'raise_on_no_answer', has been added to
|
||||
the query() methods. In no-error, no-data situations, this
|
||||
parameter determines whether NoAnswer should be raised or not.
|
||||
If True, NoAnswer is raised. If False, then an Answer()
|
||||
object with a None rrset will be returned.
|
||||
- Resolver Answer() objects now have a canonical_name field.
|
||||
- Rdata now have a __hash__ method.
|
||||
- Regenerated spec file with py2pack;
|
||||
- Removed LICENSE PKG-INFO and TODO files from documentation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 23 11:24:52 UTC 2010 - alexandre@exatati.com.br
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dnspython (Version 1.9.2)
|
||||
# spec file for package python-dnspython
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 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
|
||||
@ -11,55 +11,66 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
# 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)")}
|
||||
|
||||
%define mod_name dnspython
|
||||
|
||||
Name: python-dnspython
|
||||
Version: 1.9.2
|
||||
Release: 1
|
||||
License: Other License(s), see package, BSD
|
||||
Summary: A DNS toolkit for Python
|
||||
Name: python-%{mod_name}
|
||||
Version: 1.9.3
|
||||
Release: 0
|
||||
Url: http://www.dnspython.org
|
||||
Group: Productivity/Networking/DNS/Utilities
|
||||
Source: http://www.dnspython.org/kits/stable/dnspython-%{version}.tar.bz2
|
||||
BuildRequires: python-devel
|
||||
Summary: A DNS toolkit for Python
|
||||
License: http://www.dnspython.org/LICENSE
|
||||
Group: Development/Languages/Python
|
||||
Source: %{mod_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
dnspython is a DNS toolkit for Python. It supports almost all record
|
||||
types. It can be used for queries, zone transfers, and dynamic updates.
|
||||
It supports TSIG authenticated messages and EDNS0.
|
||||
types. It can be used for queries, zone transfers,
|
||||
and dynamic updates. It supports TSIG authenticated messages and EDNS0.
|
||||
|
||||
dnspython provides both high and low level access to DNS. The high
|
||||
level classes 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 provides both high and low level access to DNS. The high level classes
|
||||
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 -n dnspython-%{version}
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
|
||||
%build
|
||||
find -name .\* -delete
|
||||
export CFLAGS="%{optflags}"
|
||||
%{__python} setup.py build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
%{__chmod} 644 {examples,tests}/*.py
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog LICENSE PKG-INFO README TODO
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
# You may have to add additional files here (documentation and binaries mostly)
|
||||
%python_sitelib/dns*
|
||||
%python_sitelib/*.egg-info
|
||||
%doc README ChangeLog
|
||||
%doc examples
|
||||
%doc tests
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user