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-) %define pkgname %(echo %name | cut -d- -f2-)
Name: python-setuptools_scm Name: python-setuptools_scm
Version: 7.1.0 Version: 8.1.0
Release: 2mamba Release: 1mamba
Summary: Handles managing your python package versions in scm metadata Summary: Handles managing your python package versions in scm metadata
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -14,9 +14,9 @@ License: MIT
BuildRequires: libpython311-devel BuildRequires: libpython311-devel
BuildRequires: python3.11dist(packaging) BuildRequires: python3.11dist(packaging)
BuildRequires: python3.11dist(setuptools) BuildRequires: python3.11dist(setuptools)
BuildRequires: python3.11dist(typing-extensions)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11.5 BuildRequires: libpython3-devel >= 3.11.5
BuildConflicts: python-setuptools_scm-py3 < 8
%description %description
%{summary}. %{summary}.
@ -29,29 +29,33 @@ BuildRequires: libpython3-devel >= 3.11.5
%setup -q -n setuptools_scm-%{version} %setup -q -n setuptools_scm-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel --skip-dependency-check
%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 "\,\.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) %defattr(-,root,root)
## note: this list is just an example; modify as required %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE %doc LICENSE
## note: add extra documentation (if any)
# %doc README.rst
%changelog %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 * Sat Sep 23 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1.0-2mamba
- rebuilt with python3 == 3.11 - rebuilt with python3 == 3.11