2024-01-06 11:04:39 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 11:04:38 +01:00
|
|
|
Name: python-dnspython
|
2024-01-21 11:08:15 +01:00
|
|
|
Version: 2.5.0
|
2024-01-06 11:04:39 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 11:04:38 +01:00
|
|
|
Summary: A DNS toolkit for Python
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-21 11:08:15 +01:00
|
|
|
URL: https://kde.org/it/plasma-desktop/
|
2024-01-06 11:04:38 +01:00
|
|
|
Source: https://pypi.debian.net/dnspython/dnspython-%{version}.tar.gz
|
2024-01-06 11:04:38 +01:00
|
|
|
License: ISC
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:04:39 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 11:04:38 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:04:39 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 11:04:38 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n dnspython-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:04:39 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:04:38 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:04:39 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:04:38 +01:00
|
|
|
|
2024-01-06 11:04:39 +01:00
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endif
|
2024-01-06 11:04:38 +01:00
|
|
|
|
2024-01-06 11:04:39 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 11:04:38 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:04:39 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/dns
|
|
|
|
%{python_sitelib}/dns/*
|
2024-01-06 11:04:38 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-21 11:08:15 +01:00
|
|
|
* Sat Jan 20 2024 Automatic Build System <autodist@openmamba.org> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:04:39 +01:00
|
|
|
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:04:39 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.3.0-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 11:04:39 +01:00
|
|
|
* Mon Apr 10 2023 Sdk Build System <sdk@mambasoft.it> 2.3.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 11:04:38 +01:00
|
|
|
* Mon Jan 16 2023 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:04:38 +01:00
|
|
|
* Mon May 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- update to 2.2.1
|
|
|
|
|
2024-01-06 11:04:38 +01:00
|
|
|
* Sun Nov 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-3mamba
|
|
|
|
- remove obsolete for dnspython in favour of legacy package python-dnspython-py27 for mailman 2
|
|
|
|
|
2024-01-06 11:04:38 +01:00
|
|
|
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
|
|
|
|
- obsolete dnspython
|
|
|
|
|
2024-01-06 11:04:38 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:04:38 +01:00
|
|
|
* Tue Sep 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- update to 2.0.0
|
|
|
|
|
|
|
|
* Tue Sep 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16.0-1mamba
|
|
|
|
- package created using the webbuild interface
|