automatic version update by autodist [release 8.1.0-1mamba;Sun Jul 28 2024]

This commit is contained in:
Automatic Build System 2024-07-31 20:38:19 +02:00
parent a0819204f8
commit 268835c36a

View File

@ -1,7 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2-)
Name: python-setuptools_scm
Version: 7.1.0
Release: 2mamba
Version: 8.1.0
Release: 1mamba
Summary: Handles managing your python package versions in scm metadata
Group: System/Libraries
Vendor: openmamba
@ -14,9 +14,9 @@ License: MIT
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(packaging)
BuildRequires: python3.11dist(setuptools)
BuildRequires: python3.11dist(typing-extensions)
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11.5
BuildConflicts: python-setuptools_scm-py3 < 8
%description
%{summary}.
@ -29,29 +29,33 @@ BuildRequires: libpython3-devel >= 3.11.5
%setup -q -n setuptools_scm-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel --skip-dependency-check
%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
rm -f %{buildroot}%{python3_sitelib}/setuptools_scm/.git_archival.txt
%files %{?pyappend} -f %{name}.filelist
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend}
%defattr(-,root,root)
## note: this list is just an example; modify as required
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE
## note: add extra documentation (if any)
# %doc README.rst
%changelog
* Sun Jul 28 2024 Automatic Build System <autodist@openmamba.org> 8.1.0-1mamba
- automatic version update by autodist
* Sat Sep 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.0-2mamba
- rebuilt with python3 == 3.11