forked from pool/python-PyKCS11
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
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 2 21:11:10 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- 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 <rrahl0@disroot.org>
|
Fri May 24 16:22:04 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
|
||||||
|
|
||||||
|
@@ -26,15 +26,14 @@ URL: https://github.com/LudovicRousseau/PyKCS11
|
|||||||
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module asn1crypto}
|
BuildRequires: %{python_module asn1crypto}
|
||||||
BuildRequires: %{python_module build}
|
BuildRequires: %{python_module build}
|
||||||
BuildRequires: %{python_module coverage}
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module python-coveralls}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: softhsm-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -53,13 +52,15 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test depends on softhsm, which is not in factory
|
export $(python3 get_PYKCS11LIB.py)
|
||||||
#%%python_exec run_test.py
|
# Unfortunately the test suite is irrecovabily broken
|
||||||
|
# gh#LudovicRousseau/PyKCS11#115
|
||||||
|
# %%pyunittest_arch discover -v test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc Changes.txt README.md
|
%doc Changes.txt README.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python_sitearch}/PyKCS11
|
%{python_sitearch}/PyKCS11
|
||||||
%{python_sitearch}/PyKCS11-%{version}.dist-info
|
%{python_sitearch}/PyKCS11-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user