Group :: Desenvolvimento/Python
RPM: python-module-dns
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define version 1.3.4
%define release alt1
%setup_python_module dns
Summary: DNS toolkit
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: dnspython-%{version}.tar.gz
License: BSD-like
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Bob Halley <halley at dnspython.org>
Url: http://www.dnspython.org
%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 -q -n dnspython-%version
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc examples
%changelog
…
Todas as alterações você pod ver aqui
%define release alt1
%setup_python_module dns
Summary: DNS toolkit
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: dnspython-%{version}.tar.gz
License: BSD-like
Group: Development/Python
Prefix: %{_prefix}
BuildArchitectures: noarch
Vendor: Bob Halley <halley at dnspython.org>
Url: http://www.dnspython.org
%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 -q -n dnspython-%version
%build
%__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc examples
%changelog
…
Todas as alterações você pod ver aqui