forked from pool/python-pyrad
Accepting request 899830 from home:stroeder:iam
- Use %pyunittest, dropped build dependency on pytest OBS-URL: https://build.opensuse.org/request/show/899830 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrad?expand=0&rev=11
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 13 19:00:10 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
- Use %pyunittest, dropped build dependency on pytest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 16 10:46:08 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
Wed Dec 16 10:46:08 UTC 2020 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyrad
|
# spec file for package python-pyrad
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,7 +25,6 @@ License: BSD-3-Clause
|
|||||||
URL: https://github.com/pyradius/pyrad
|
URL: https://github.com/pyradius/pyrad
|
||||||
Source0: https://github.com/pyradius/pyrad/archive/%{version}.tar.gz
|
Source0: https://github.com/pyradius/pyrad/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module netaddr}
|
BuildRequires: %{python_module netaddr}
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: netcfg
|
BuildRequires: netcfg
|
||||||
@@ -49,7 +48,7 @@ them and decoding responses.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest -v -s tests/test*.py
|
%pyunittest discover -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
Reference in New Issue
Block a user