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
|
Name: python-jsonpickle
|
||||||
Version: 3.0.3
|
Version: 3.2.2
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Python library for serializing any arbitrary object graph into JSON
|
Summary: Python library for serializing any arbitrary object graph into JSON
|
||||||
Group: System/Libraries/Python
|
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}
|
%setup -q -n jsonpickle-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%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=%{_includedir}/python \
|
|
||||||
--install-lib=%{python_sitearch} \
|
|
||||||
--record=%{name}.filelist
|
|
||||||
|
|
||||||
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
|
%files %{?pyappend}
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/*.egg-info
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
%dir %{python_sitearch}/jsonpickle
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%dir %{python_sitelib}/%{pkgname}
|
||||||
|
%{python_sitelib}/%{pkgname}/*
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 3.0.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user