obsolete dnspython [release 1.10.0-4mamba;Thu Sep 21 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 11:04:47 +01:00
parent 653cc0b068
commit cacd4a71b4

View File

@ -1,6 +1,6 @@
Name: python-dnspython-py27
Version: 1.10.0
Release: 3mamba
Release: 4mamba
Summary: dnspython is a DNS toolkit for Python
Group: System/Libraries
Vendor: openmamba
@ -13,6 +13,7 @@ License: BSD
BuildRequires: libpython27-devel
## AUTOBUILDREQ-END
Provides: dnspython
Obsoletes: dnspython <= 1.10.0-2mamba
%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.
@ -22,22 +23,24 @@ dnspython provides both high and low level access to DNS. The high level classes
%setup -q -n dnspython-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python27} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
%{__python27} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--install-lib=%{python27_sitearch} \
--record=%{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%{python_sitearch}/dnspython-%{version}-py%{python_version}.egg-info
%{python27_sitearch}/dnspython-%{version}-py%{python27_version}.egg-info
%changelog
* Thu Sep 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-4mamba
- obsolete dnspython
* Sun Nov 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-3mamba
- restore as py27 legacy package for mailman 2