diff --git a/python-jsonschema.spec b/python-jsonschema.spec index affc0f1..39cb4f2 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -1,6 +1,6 @@ Name: python-jsonschema Version: 3.2.0 -Release: 1mamba +Release: 2mamba Summary: jsonschema is an implementation of JSON Schema for Python Group: System/Libraries Vendor: openmamba @@ -10,12 +10,16 @@ URL: http://pypi.python.org/pypi/jsonschema Source: https://pypi.debian.net/jsonschema/jsonschema-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -BuildRequires: python-argparse -BuildRequires: python-nose -BuildRequires: python-setuptools -Requires: python >= %python_version +#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 @@ -25,15 +29,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root %setup -q -n jsonschema-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ +%{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} \ + --install-lib=%{python3_sitearch} \ --record=%{name}.filelist #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist @@ -43,6 +47,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build %doc COPYING README.rst %changelog +* Sat Apr 18 2020 Silvan Calarco 3.2.0-2mamba +- rebuilt with python3 + * Tue Nov 26 2019 Automatic Build System 3.2.0-1mamba - automatic version update by autodist