obsolete dnspython [release 2.1.0-2mamba;Mon Apr 05 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 11:04:38 +01:00
parent 4d3c2f044b
commit c33183527a

View File

@ -1,6 +1,6 @@
Name: python-dnspython
Version: 2.1.0
Release: 1mamba
Release: 2mamba
Summary: A DNS toolkit for Python
Group: System/Libraries
Vendor: openmamba
@ -10,16 +10,16 @@ URL: https://www.dnspython.org/
Source: https://pypi.debian.net/dnspython/dnspython-%{version}.zip
License: ISC
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 python-dnspython' to get the list of build requirements.
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%py_requires_append \
Provides: dnspython
Obsoletes: dnspython <= 1.10.0
%pyver_package
%endif
@ -38,18 +38,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
## note: this list is just an example; modify as required
# %{python_sitearch}/%{name}.py*
# %{python_sitearch}/%{name}.so
%dir %{python_sitearch}/dnspython-%{version}-py*.egg-info
%{python_sitearch}/dnspython-%{version}-py*.egg-info/*
%doc LICENSE
## note: add extra documentation (if any)
# %doc README.md
%changelog
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
- obsolete dnspython
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist