python-dnspython/python-dnspython.spec

67 lines
1.9 KiB
RPMSpec

Name: python-dnspython
Version: 2.3.0
Release: 1mamba
Summary: A DNS toolkit for Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.dnspython.org/
Source: https://pypi.debian.net/dnspython/dnspython-%{version}.tar.gz
License: ISC
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n dnspython-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%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
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/dnspython-%{version}-py*.egg-info
%{python_sitearch}/dnspython-%{version}-py*.egg-info/*
%doc LICENSE
%changelog
* Mon Jan 16 2023 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Mon May 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- update to 2.2.1
* 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
* 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
* 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