From 653cc0b068ecedfd8170173cbf807ff3a549921d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:04:47 +0100 Subject: [PATCH] restore as py27 legacy package for mailman 2 [release 1.10.0-3mamba;Sun Nov 28 2021] --- README.md | 3 +++ python-dnspython-py27.spec | 51 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 python-dnspython-py27.spec diff --git a/README.md b/README.md index 872e523..e0bff38 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # python-dnspython-py27 +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. + diff --git a/python-dnspython-py27.spec b/python-dnspython-py27.spec new file mode 100644 index 0000000..a149702 --- /dev/null +++ b/python-dnspython-py27.spec @@ -0,0 +1,51 @@ +Name: python-dnspython-py27 +Version: 1.10.0 +Release: 3mamba +Summary: dnspython is a DNS toolkit for Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.dnspython.org/ +Source: http://www.dnspython.org/kits/%{version}/dnspython-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython27-devel +## AUTOBUILDREQ-END +Provides: dnspython + +%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 +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +%{python_sitearch}/dnspython-%{version}-py%{python_version}.egg-info + +%changelog +* Sun Nov 28 2021 Silvan Calarco 1.10.0-3mamba +- restore as py27 legacy package for mailman 2 + +* Sat May 25 2013 Silvan Calarco 1.10.0-2mamba +- python 2.7 mass rebuild + +* Fri Jul 06 2012 Automatic Build System 1.10.0-1mamba +- automatic version update by autodist + +* Mon Dec 27 2010 Ercole 'ercolinux' Carpanetto 1.9.2-1mamba +- package created by autospec