rebuilt with distdeps [release 3.2.0-3mamba;Mon Aug 30 2021]
This commit is contained in:
parent
f6809af130
commit
6a87249adb
@ -1,52 +1,59 @@
|
||||
Name: python-jsonschema
|
||||
Version: 3.2.0
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: jsonschema is an implementation of JSON Schema for Python
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: http://pypi.python.org/pypi/jsonschema
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://pypi.org/project/jsonschema/
|
||||
Source: https://pypi.debian.net/jsonschema/jsonschema-%{version}.tar.gz
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(attrs)
|
||||
BuildRequires: python3.7dist(importlib-metadata)
|
||||
BuildRequires: python3.7dist(pyrsistent)
|
||||
BuildRequires: python3.7dist(setuptools)
|
||||
BuildRequires: python3.7dist(six)
|
||||
## AUTOBUILDREQ-END
|
||||
#BuildRequires: python-argparse
|
||||
#BuildRequires: python-nose
|
||||
BuildRequires: python-setuptools-py3
|
||||
Requires: python3 >= %python3_version
|
||||
Requires: python-importlib_metadata-py3
|
||||
Requires: python-pyrsistent-py3
|
||||
Requires: python-attrs-py3
|
||||
Requires: python-zipp-py3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%define py_requires_append \
|
||||
Obsoletes: python-jsonschema <= 3.2.0-2mamba
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n jsonschema-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python3} setup.py install \
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python3_sitearch} \
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/jsonschema-%{version}-py*.egg-info
|
||||
%{python_sitearch}/jsonschema-%{version}-py*.egg-info/*
|
||||
%doc COPYING README.rst
|
||||
|
||||
%changelog
|
||||
* Mon Aug 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-3mamba
|
||||
- rebuilt with distdeps
|
||||
|
||||
* Sat Apr 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.0-2mamba
|
||||
- rebuilt with python3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user