From cacd4a71b4814b5939823c8e0b9ae38e9256246b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:04:47 +0100 Subject: [PATCH] obsolete dnspython [release 1.10.0-4mamba;Thu Sep 21 2023] --- python-dnspython-py27.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/python-dnspython-py27.spec b/python-dnspython-py27.spec index a149702..8dddc02 100644 --- a/python-dnspython-py27.spec +++ b/python-dnspython-py27.spec @@ -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 1.10.0-4mamba +- obsolete dnspython + * Sun Nov 28 2021 Silvan Calarco 1.10.0-3mamba - restore as py27 legacy package for mailman 2