forked from pool/python-nss
- Enable tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nss?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 1 20:01:07 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Enable tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 2 12:05:56 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user