python-pydantic_core/python-pydantic_core.spec

137 lines
4.8 KiB
RPMSpec

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-pydantic_core
Version: 2.27.1
Release: 1mamba
Summary: Provides the core functionality for pydantic validation and serialization
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/pydantic/pydantic-core
Source: https://pypi.debian.net/pydantic-core/pydantic_core-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: (python3.11dist(typing-extensions) < 4.7 or python3.11dist(typing-extensions) > 4.7)
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(typing-extensions)
## AUTOBUILDREQ-END
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n pydantic_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 %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%doc LICENSE
%changelog
* Sat Nov 23 2024 Automatic Build System <autodist@openmamba.org> 2.27.1-1mamba
- automatic version update by autodist
* Wed Nov 13 2024 Automatic Build System <autodist@openmamba.org> 2.27.0-1mamba
- automatic version update by autodist
* Wed Nov 06 2024 Automatic Build System <autodist@openmamba.org> 2.26.0-1mamba
- automatic version update by autodist
* Sat Nov 02 2024 Automatic Build System <autodist@openmamba.org> 2.25.1-1mamba
- automatic version update by autodist
* Thu Oct 24 2024 Automatic Build System <autodist@openmamba.org> 2.25.0-1mamba
- automatic version update by autodist
* Thu Oct 17 2024 Automatic Build System <autodist@openmamba.org> 2.24.2-1mamba
- automatic version update by autodist
* Sat Oct 12 2024 Automatic Build System <autodist@openmamba.org> 2.24.1-1mamba
- automatic version update by autodist
* Sat Sep 21 2024 Automatic Build System <autodist@openmamba.org> 2.24.0-1mamba
- automatic version update by autodist
* Wed Sep 18 2024 Automatic Build System <autodist@openmamba.org> 2.23.4-1mamba
- automatic version update by autodist
* Sun Sep 08 2024 Automatic Build System <autodist@openmamba.org> 2.23.3-1mamba
- automatic version update by autodist
* Fri Sep 06 2024 Automatic Build System <autodist@openmamba.org> 2.23.2-1mamba
- automatic version update by autodist
* Fri Aug 30 2024 Automatic Build System <autodist@openmamba.org> 2.23.1-1mamba
- automatic version update by autodist
* Tue Aug 20 2024 Automatic Build System <autodist@openmamba.org> 2.23.0-1mamba
- automatic version update by autodist
* Fri Aug 16 2024 Automatic Build System <autodist@openmamba.org> 2.22.0-1mamba
- automatic version update by autodist
* Tue Aug 06 2024 Automatic Build System <autodist@openmamba.org> 2.21.0-1mamba
- automatic version update by autodist
* Thu Jul 04 2024 Automatic Build System <autodist@openmamba.org> 2.20.1-1mamba
- automatic version update by autodist
* Tue Jun 25 2024 Automatic Build System <autodist@openmamba.org> 2.20.0-1mamba
- automatic version update by autodist
* Thu Jun 13 2024 Automatic Build System <autodist@openmamba.org> 2.19.0-1mamba
- automatic version update by autodist
* Tue Jun 04 2024 Automatic Build System <autodist@openmamba.org> 2.18.4-1mamba
- automatic version update by autodist
* Wed May 29 2024 Automatic Build System <autodist@openmamba.org> 2.18.3-1mamba
- automatic version update by autodist
* Tue Apr 23 2024 Automatic Build System <autodist@openmamba.org> 2.18.2-1mamba
- automatic version update by autodist
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 2.18.1-1mamba
- automatic version update by autodist
* Sun Apr 07 2024 Automatic Build System <autodist@openmamba.org> 2.18.0-1mamba
- automatic version update by autodist
* Fri Mar 22 2024 Automatic Build System <autodist@openmamba.org> 2.17.0-1mamba
- automatic version update by autodist
* Sat Feb 24 2024 Automatic Build System <autodist@openmamba.org> 2.16.3-1mamba
- automatic version update by autodist
* Sat Feb 03 2024 Automatic Build System <autodist@openmamba.org> 2.16.2-1mamba
- automatic version update by autodist
* Sun Jan 28 2024 Automatic Build System <autodist@openmamba.org> 2.16.1-1mamba
- automatic version update by autodist
* Sat Jan 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.14.6-1mamba
- package created using the webbuild interface