automatic version update by autodist [release 4.0.0-1mamba;Mon Sep 04 2023]

This commit is contained in:
Automatic Build System 2024-01-05 16:22:48 +01:00
parent c7c2e64ab2
commit acad6ee83a

View File

@ -1,6 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2-) %define pkgname %(echo %name | cut -d- -f2-)
Name: python-py3dns Name: python-py3dns
Version: 3.2.1 Version: 4.0.0
Release: 1mamba Release: 1mamba
Summary: Python 3 DNS library Summary: Python 3 DNS library
Group: System/Libraries Group: System/Libraries
@ -26,26 +26,30 @@ Obsoletes: pydns <= 2.3.6
%prep %prep
%setup -q -n py3dns-%{version} %setup -q -n py3dns-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
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 %files %{?pyappend}
%defattr(-,root,root) %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %dir %{python_sitelib}/DNS
%{python_sitelib}/DNS/*
%doc LICENSE %doc LICENSE
%changelog %changelog
* Mon Sep 04 2023 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic version update by autodist
* Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba * Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
- package created using the webbuild interface - package created using the webbuild interface