run tests
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
60fc488d03
commit
dcae66edae
@ -22,6 +22,10 @@ Summary: %{summary}
|
|||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
|
BuildRequires: python2-pytest
|
||||||
|
BuildRequires: python2-hypothesis
|
||||||
|
BuildRequires: python2-justbases
|
||||||
|
BuildRequires: python2-six
|
||||||
Requires: python2-justbases
|
Requires: python2-justbases
|
||||||
Requires: python2-six
|
Requires: python2-six
|
||||||
|
|
||||||
@ -34,6 +38,10 @@ Summary: %{summary}
|
|||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-hypothesis
|
||||||
|
BuildRequires: python3-justbases
|
||||||
|
BuildRequires: python3-six
|
||||||
Requires: python3-justbases
|
Requires: python3-justbases
|
||||||
Requires: python3-six
|
Requires: python3-six
|
||||||
|
|
||||||
@ -53,6 +61,10 @@ rm -rf justbytes.egg-info
|
|||||||
%py2_install
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v tests
|
||||||
|
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests
|
||||||
|
|
||||||
%files -n python2-%{srcname}
|
%files -n python2-%{srcname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user