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