automatic version update by autodist [release 4.0.0-1mamba;Mon Sep 04 2023]
This commit is contained in:
parent
c7c2e64ab2
commit
acad6ee83a
@ -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 <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
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user