update to 0.3.6 [release 0.3.6-1mamba;Sat Oct 08 2022]
This commit is contained in:
parent
7833b4f2c3
commit
6d665a78e2
@ -1,5 +1,6 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-distlib
|
||||
Version: 0.3.4
|
||||
Version: 0.3.6
|
||||
Release: 1mamba
|
||||
Summary: Low-level parts of packaging/distutils2 which implement the relevant PEPs
|
||||
Group: System/Libraries
|
||||
@ -7,13 +8,11 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
Requires: python >= %python_version
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -26,29 +25,23 @@ Requires: python >= %python_version
|
||||
%setup -q -n distlib-%{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 "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{python_sitearch}/%{name}.py*
|
||||
# %{python_sitearch}/%{name}.so
|
||||
|
||||
## note: add extra documentation (if any)
|
||||
# %doc README.rst
|
||||
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||
%dir %{python_sitelib}/%{pkgname}
|
||||
%{python_sitelib}/%{pkgname}/*
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user