Group :: Desenvolvimento/Python
RPM: python3-module-dns
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define modulename dns
# Testing requires network access
%def_without check
Name: python3-module-%modulename
Version: 1.15.0
Release: alt2
Summary: DNS toolkit (Python 3)
License: BSD-like
Group: Development/Python
Url: http://www.dnspython.org
BuildArch: noarch
# http://www.dnspython.org/kits/%version/dnspython-%version.tar
# git://github.com/rthalley/dnspython.git
Source: %name-%version.tar
#BuildPreReq: rpm-build-python3
#BuildPreReq: python3-module-distribute
#BuildPreReq: python-module-epydoc
# Automatically added by buildreq on Thu Jan 28 2016 (-bi)
# optimized out: python-base python-module-PyStemmer python-module-Pygments python-module-cssselect python-module-docutils python-module-pytz python-module-setuptools python-module-snowballstemmer python-modules python-modules-compiler python-modules-email python-modules-encodings python3 python3-base
BuildRequires: python-module-epydoc python-module-html5lib rpm-build-python3 time python3-module-setuptools
%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.
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.
%prep
%setup
rm -f examples/._*
%build
%python3_build
%make_build doc
%install
%python3_install
%if_with check
%check
pushd tests
%make PYTHONPATH="../:$PYTHONPATH" check
popd
%endif
%files
%doc examples/ html/ ChangeLog LICENSE
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
# Testing requires network access
%def_without check
Name: python3-module-%modulename
Version: 1.15.0
Release: alt2
Summary: DNS toolkit (Python 3)
License: BSD-like
Group: Development/Python
Url: http://www.dnspython.org
BuildArch: noarch
# http://www.dnspython.org/kits/%version/dnspython-%version.tar
# git://github.com/rthalley/dnspython.git
Source: %name-%version.tar
#BuildPreReq: rpm-build-python3
#BuildPreReq: python3-module-distribute
#BuildPreReq: python-module-epydoc
# Automatically added by buildreq on Thu Jan 28 2016 (-bi)
# optimized out: python-base python-module-PyStemmer python-module-Pygments python-module-cssselect python-module-docutils python-module-pytz python-module-setuptools python-module-snowballstemmer python-modules python-modules-compiler python-modules-email python-modules-encodings python3 python3-base
BuildRequires: python-module-epydoc python-module-html5lib rpm-build-python3 time python3-module-setuptools
%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.
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.
%prep
%setup
rm -f examples/._*
%build
%python3_build
%make_build doc
%install
%python3_install
%if_with check
%check
pushd tests
%make PYTHONPATH="../:$PYTHONPATH" check
popd
%endif
%files
%doc examples/ html/ ChangeLog LICENSE
%python3_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui