Accepting request 1004346 from home:jayvdb:branches:devel:languages:python
(Depends on https://build.opensuse.org/request/show/1004345) - Move tests out of runtime package - Enable test suite OBS-URL: https://build.opensuse.org/request/show/1004346 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gssapi?expand=0&rev=19
This commit is contained in:
parent
6835902162
commit
52e75f5a42
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 17 13:50:48 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Move tests out of runtime package
|
||||||
|
- Enable test suite
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 22 21:53:06 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Tue Feb 22 21:53:06 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -28,7 +28,10 @@ Source: https://files.pythonhosted.org/packages/source/g/gssapi/gssapi-%
|
|||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module decorator}
|
BuildRequires: %{python_module decorator}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module k5test}
|
||||||
|
BuildRequires: %{python_module parameterized}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -44,6 +47,9 @@ usable with other GSSAPI mechanisms.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n gssapi-%{version}
|
%setup -q -n gssapi-%{version}
|
||||||
|
sed -i "s/'gssapi.tests'//" setup.py
|
||||||
|
|
||||||
|
mv gssapi/tests .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -DHAS_GSSAPI_EXT_H -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -DHAS_GSSAPI_EXT_H -fno-strict-aliasing"
|
||||||
@ -54,7 +60,9 @@ export CFLAGS="%{optflags} -DHAS_GSSAPI_EXT_H -fno-strict-aliasing"
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# requires 'MIT Kerberos installation'
|
mv gssapi gssapi_temp
|
||||||
|
%pytest_arch tests
|
||||||
|
mv gssapi_temp gssapi
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitearch}/gssapi*
|
%{python_sitearch}/gssapi*
|
||||||
|
Loading…
Reference in New Issue
Block a user