No tests on PyPI
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
b04f6d196c
commit
8feb6a0eae
@ -29,8 +29,6 @@ Summary: Python2 interface to the pkg-config ocmmand line tool
|
|||||||
%{?python_provide:%python_provide python2-%{srcname}}
|
%{?python_provide:%python_provide python2-%{srcname}}
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
# For tests
|
|
||||||
BuildRequires: python2-pytest
|
|
||||||
Requires: %{_bindir}/pkg-config
|
Requires: %{_bindir}/pkg-config
|
||||||
|
|
||||||
%description -n python2-%{srcname}
|
%description -n python2-%{srcname}
|
||||||
@ -52,8 +50,6 @@ Python 2 version.
|
|||||||
Summary: Python3 interface to the pkg-config command line tool
|
Summary: Python3 interface to the pkg-config command line tool
|
||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
# For tests
|
|
||||||
BuildRequires: python3-pytest
|
|
||||||
Requires: %{_bindir}/pkg-config
|
Requires: %{_bindir}/pkg-config
|
||||||
|
|
||||||
%description -n python3-%{srcname}
|
%description -n python3-%{srcname}
|
||||||
@ -82,10 +78,6 @@ Python 3 version.
|
|||||||
%py2_install
|
%py2_install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
|
||||||
py.test-%{python2_version} -v
|
|
||||||
py.test-%{python3_version} -v
|
|
||||||
|
|
||||||
%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