82 lines
2.7 KiB
RPMSpec
82 lines
2.7 KiB
RPMSpec
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
Name: python-scikit-build-core
|
|
Version: 1.0.3
|
|
Release: 1mamba
|
|
Summary: Build backend for CMake based projects
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan@openmamba.org>
|
|
URL: https://github.com/scikit-build/scikit-build-core
|
|
Source: https://pypi.debian.net/scikit-build-core/scikit_build_core-%{version}.tar.gz
|
|
License: Apache License 2.0
|
|
BuildArch: noarch
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython314-devel
|
|
BuildRequires: python3.14dist(packaging)
|
|
BuildRequires: python3.14dist(pathspec)
|
|
## AUTOBUILDREQ-END
|
|
Obsoletes: python-scikit-build-core-py3 < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
Provides: python-scikit-build-core-py3 = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%setup -q -n scikit_build_core-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
|
|
|
#%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
|
|
%defattr(-,root,root)
|
|
%{_bindir}/scikit-build
|
|
%{_bindir}/scikit-build-core
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
%{python_sitelib}/%{pkgname}/*
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Sun Jul 12 2026 Automatic Build System <autodist@openmamba.org> 1.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jul 11 2026 Automatic Build System <autodist@openmamba.org> 1.0.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jul 08 2026 Claude <claude@openmamba.org> 1.0.1-2mamba
|
|
- rebuild for python 3.14
|
|
|
|
* Tue Jul 07 2026 Automatic Build System <autodist@openmamba.org> 1.0.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jul 07 2026 Automatic Build System <autodist@openmamba.org> 1.0.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 06 2026 Automatic Build System <autodist@openmamba.org> 0.12.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Feb 27 2026 Automatic Build System <autodist@openmamba.org> 0.12.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 25 2026 Automatic Build System <autodist@openmamba.org> 0.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 24 2025 Automatic Build System <autodist@openmamba.org> 0.11.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jul 19 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.5-1mamba
|
|
- package created using the webbuild interface
|