From 8b069b730b782db9fec2d40aadb49a781762e21d89ae1cefda2fb51db50f03f8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 2 Jun 2024 21:13:55 +0000 Subject: [PATCH] Accepting request 1178189 from home:mcepl:branches:devel:languages:python - Clean up the spec - Unfortunately, the tests are still not run (gh#LudovicRousseau/PyKCS11#115). OBS-URL: https://build.opensuse.org/request/show/1178189 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyKCS11?expand=0&rev=8 --- python-PyKCS11.changes | 7 +++++++ python-PyKCS11.spec | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/python-PyKCS11.changes b/python-PyKCS11.changes index 96a33d9..73eeb27 100644 --- a/python-PyKCS11.changes +++ b/python-PyKCS11.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Jun 2 21:11:10 UTC 2024 - Matej Cepl + +- Clean up the spec +- Unfortunately, the tests are still not run + (gh#LudovicRousseau/PyKCS11#115). + ------------------------------------------------------------------- Fri May 24 16:22:04 UTC 2024 - Richard Rahl diff --git a/python-PyKCS11.spec b/python-PyKCS11.spec index 83a2183..1943571 100644 --- a/python-PyKCS11.spec +++ b/python-PyKCS11.spec @@ -26,15 +26,14 @@ URL: https://github.com/LudovicRousseau/PyKCS11 Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module asn1crypto} BuildRequires: %{python_module build} -BuildRequires: %{python_module coverage} BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} -BuildRequires: %{python_module python-coveralls} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros +BuildRequires: softhsm-devel BuildRequires: swig %python_subpackages @@ -53,13 +52,15 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -# test depends on softhsm, which is not in factory -#%%python_exec run_test.py +export $(python3 get_PYKCS11LIB.py) +# Unfortunately the test suite is irrecovabily broken +# gh#LudovicRousseau/PyKCS11#115 +# %%pyunittest_arch discover -v test %files %{python_files} %doc Changes.txt README.md %license COPYING %{python_sitearch}/PyKCS11 -%{python_sitearch}/PyKCS11-%{version}.dist-info +%{python_sitearch}/PyKCS11-%{version}*-info %changelog