From a081b107e4f4a0578bce6c53b2e5d3407e8abc532742b9376a2ca1d5927ac6ed Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Oct 2021 14:53:07 +0000 Subject: [PATCH 1/2] Accepting request 923777 from home:pgajdos:python OBS-URL: https://build.opensuse.org/request/show/923777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ed25519?expand=0&rev=5 --- python-ed25519.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python-ed25519.spec b/python-ed25519.spec index 5b43738..dee2a0c 100644 --- a/python-ed25519.spec +++ b/python-ed25519.spec @@ -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 From 5670c82e5973c49b83514708d517313e1b0a8f9d0f4b4048e1ab45491794f633 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Oct 2021 15:24:35 +0000 Subject: [PATCH 2/2] Add missing changelog record OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ed25519?expand=0&rev=6 --- python-ed25519.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-ed25519.changes b/python-ed25519.changes index 5d15a2c..68e1036 100644 --- a/python-ed25519.changes +++ b/python-ed25519.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 7 15:11:01 UTC 2021 - Matej Cepl + +- Switch from python setup.py test construct to pyunittest macro. + ------------------------------------------------------------------- Tue May 26 06:34:05 UTC 2020 - Petr Gajdos