diff --git a/python-pyasn1.changes b/python-pyasn1.changes index 212c201..1dbd6a0 100644 --- a/python-pyasn1.changes +++ b/python-pyasn1.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 22 12:35:13 UTC 2015 - mcihar@suse.cz + +- Run testsuite in %check + ------------------------------------------------------------------- Tue Mar 3 15:56:43 UTC 2015 - lchiquitto@suse.com diff --git a/python-pyasn1.spec b/python-pyasn1.spec index 489456e..9692744 100644 --- a/python-pyasn1.spec +++ b/python-pyasn1.spec @@ -25,6 +25,7 @@ Group: Development/Languages/Python Url: http://pyasn1.sf.net/ Source: http://pypi.python.org/packages/source/p/pyasn1/pyasn1-%{version}.tar.gz BuildRequires: python-devel +BuildRequires: python-pytest BuildRequires: python-setuptools Provides: python-asn1 = %{version} Obsoletes: python-asn1 < 0.1.2 @@ -47,6 +48,9 @@ specification. %build python setup.py build +%check +python setup.py test + %install python setup.py install --prefix=%{_prefix} --root=%{buildroot}