update to 0.3.6 [release 0.3.6-1mamba;Sat Oct 08 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 11:03:29 +01:00
parent 7833b4f2c3
commit 6d665a78e2

View File

@ -1,5 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-distlib Name: python-distlib
Version: 0.3.4 Version: 0.3.6
Release: 1mamba Release: 1mamba
Summary: Low-level parts of packaging/distutils2 which implement the relevant PEPs Summary: Low-level parts of packaging/distutils2 which implement the relevant PEPs
Group: System/Libraries Group: System/Libraries
@ -7,13 +8,11 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://bitbucket.org/pypa/distlib/src/master/ URL: https://bitbucket.org/pypa/distlib/src/master/
Source: https://pypi.debian.net/distlib/distlib-%{version}.zip Source: https://pypi.debian.net/distlib/distlib-%{version}.tar.gz
License: Python Software Foundation License License: Python Software Foundation License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython-devel
Requires: python >= %python_version
%description %description
%{summary}. %{summary}.
@ -26,29 +25,23 @@ Requires: python >= %python_version
%setup -q -n distlib-%{version} %setup -q -n distlib-%{version}
%build %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 "s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend}
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
## note: this list is just an example; modify as required %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
# %{python_sitearch}/%{name}.py* %{python_sitelib}/%{pkgname}-%{version}.dist-info/*
# %{python_sitearch}/%{name}.so %dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
## note: add extra documentation (if any)
# %doc README.rst
%changelog %changelog
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.6-1mamba
- update to 0.3.6
* Thu Dec 09 2021 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba * Thu Dec 09 2021 Automatic Build System <autodist@mambasoft.it> 0.3.4-1mamba
- automatic version update by autodist - automatic version update by autodist