forked from pool/python-python-lzo
Accepting request 815526 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/815526 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lzo?expand=0&rev=2
This commit is contained in:
commit
7137ade227
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 17 13:14:01 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- nose -> pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 08:06:57 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-lzo
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,14 +23,13 @@ Release: 0
|
||||
Summary: Python bindings for the LZO data compression library
|
||||
License: GPL-2.0-only
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/jd-boyd/python-lzo
|
||||
URL: https://github.com/jd-boyd/python-lzo
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-lzo/python-lzo-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: lzo-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -52,9 +51,7 @@ export CFLAGS="%{optflags}"
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||
nosetests-%{$python_bin_suffix}
|
||||
}
|
||||
%pytest_arch tests/test.py
|
||||
|
||||
%files %{python_files}
|
||||
%doc NEWS
|
||||
|
Loading…
x
Reference in New Issue
Block a user