forked from pool/python-ed25519
Accepting request 924035 from devel:languages:python
- Switch from python setup.py test construct to pyunittest macro. OBS-URL: https://build.opensuse.org/request/show/924035 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ed25519?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 7 15:11:01 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch from python setup.py test construct to pyunittest macro.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 06:34:05 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ed25519
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,7 +30,7 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -49,7 +49,9 @@ export CFLAGS="%{optflags}"
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
cp src/ed25519/test*.py .
|
||||
rm -r src
|
||||
%pyunittest_arch test*.py
|
||||
|
||||
%post
|
||||
%python_install_alternative edsig
|
||||
|
||||
Reference in New Issue
Block a user