forked from pool/python-cassowary
Accepting request 894289 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/894289 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cassowary?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 08:42:53 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- use %pytest macro in %check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 30 12:42:22 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-cassowary
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-cassowary
|
||||
Version: 0.5.2
|
||||
Release: 0
|
||||
@@ -26,6 +25,7 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/brodderickrodriguez/cassowary
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cassowary/cassowary-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -47,10 +47,8 @@ layout mechanism.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user