Name: python-ujson Version: 4.1.0 Release: 1mamba Summary: Ultra fast JSON encoder and decoder for Python Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/ultrajson/ultrajson Source: https://pypi.debian.net/ujson/ujson-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libpython3-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: libpython-devel Requires: python >= %python_version %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n ujson-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -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 %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %dir %{python_sitearch}/ujson-%{version}-py*.egg-info %{python_sitearch}/ujson-%{version}-py*.egg-info/* %changelog * Tue Aug 17 2021 Automatic Build System 4.1.0-1mamba - automatic version update by autodist * Mon Apr 12 2021 Silvan Calarco 4.0.2-1mamba - package created using the webbuild interface