automatic version update by autodist [release 3.2.2-1mamba;Sun Jul 21 2024]
This commit is contained in:
parent
3afa9e0527
commit
f0cd8f017b
@ -1,5 +1,6 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-jsonpickle
|
||||
Version: 3.0.3
|
||||
Version: 3.2.2
|
||||
Release: 1mamba
|
||||
Summary: Python library for serializing any arbitrary object graph into JSON
|
||||
Group: System/Libraries/Python
|
||||
@ -30,29 +31,31 @@ jsonpickle is highly configurable and extendable–allowing the user to choose t
|
||||
%setup -q -n jsonpickle-%{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=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
||||
|
||||
sed -i "\,egg-info$,d" %{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
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/*.egg-info
|
||||
%dir %{python_sitearch}/jsonpickle
|
||||
%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 21 2024 Automatic Build System <autodist@openmamba.org> 3.2.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 3.0.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user