From acad6ee83aa3d35bde0050253ee7507d9b2ba8aa Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 16:22:48 +0100 Subject: [PATCH] automatic version update by autodist [release 4.0.0-1mamba;Mon Sep 04 2023] --- python-py3dns.spec | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/python-py3dns.spec b/python-py3dns.spec index c71ba07..bdc6494 100644 --- a/python-py3dns.spec +++ b/python-py3dns.spec @@ -1,6 +1,6 @@ %define pkgname %(echo %name | cut -d- -f2-) Name: python-py3dns -Version: 3.2.1 +Version: 4.0.0 Release: 1mamba Summary: Python 3 DNS library Group: System/Libraries @@ -26,26 +26,30 @@ Obsoletes: pydns <= 2.3.6 %prep %setup -q -n py3dns-%{version} -%build -CFLAGS="%{optflags}" %{__python} setup.py build + +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/jsonschema; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done +#%endif -%files %{?pyappend} -f %{name}.filelist -%defattr(-,root,root) -%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info -%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%files %{?pyappend} +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/DNS +%{python_sitelib}/DNS/* %doc LICENSE %changelog +* Mon Sep 04 2023 Automatic Build System 4.0.0-1mamba +- automatic version update by autodist + * Tue Dec 07 2021 Silvan Calarco 3.2.1-1mamba - package created using the webbuild interface