diff --git a/python-nss.changes b/python-nss.changes index 20c497b..003fc96 100644 --- a/python-nss.changes +++ b/python-nss.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 1 20:01:07 CET 2019 - Matej Cepl + +- Enable tests. + ------------------------------------------------------------------- Wed May 2 12:05:56 UTC 2018 - tchvatal@suse.com diff --git a/python-nss.spec b/python-nss.spec index a197959..45196ac 100644 --- a/python-nss.spec +++ b/python-nss.spec @@ -1,7 +1,7 @@ # # spec file for package python-nss # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -29,6 +29,8 @@ BuildRequires: %{python_module docutils} BuildRequires: %{python_module setuptools} BuildRequires: mozilla-nspr-devel BuildRequires: mozilla-nss-devel +# Required for tests +BuildRequires: mozilla-nss-tools %python_subpackages %description @@ -47,6 +49,11 @@ projects. NSS is FIPS-140 certified. %install %python_install +%check +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} +$python test/run_tests -i +} + %files %{python_files} %license LICENSE.mpl LICENSE.lgpl LICENSE.gpl %doc README doc/ChangeLog