diff --git a/python-zxcvbn.changes b/python-zxcvbn.changes index 4f122ad..caa3d5d 100644 --- a/python-zxcvbn.changes +++ b/python-zxcvbn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 20 11:29:04 UTC 2020 - Tomáš Chvátal + +- Really run all the tests using pytest + ------------------------------------------------------------------- Thu Feb 20 10:54:22 UTC 2020 - Michael Ströder diff --git a/python-zxcvbn.spec b/python-zxcvbn.spec index 7666c7a..466df9a 100644 --- a/python-zxcvbn.spec +++ b/python-zxcvbn.spec @@ -1,7 +1,7 @@ # -# spec file for package python3-aedir +# spec file for package python-zxcvbn # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,19 @@ # 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/ # -%global modname zxcvbn +%global modname zxcvbn Name: python-%{modname} Version: 4.4.28 Release: 0 Summary: Python password strength estimator License: MIT -Group: Development/Languages/Python -Url: https://github.com/dwolfhub/zxcvbn-python +URL: https://github.com/dwolfhub/zxcvbn-python Source: https://github.com/dwolfhub/zxcvbn-python/archive/v%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -52,13 +52,12 @@ Python password strength estimator. %python_uninstall_alternative zxcvbn %check -%python_exec setup.py test +%pytest %files %{python_files} -%defattr(-,root,root,-) -%{python_sitelib}/* %doc README.rst -%python_alternative %{_bindir}/zxcvbn %license LICENSE.txt +%{python_sitelib}/* +%python_alternative %{_bindir}/zxcvbn %changelog