forked from pool/python-rope
- Fix buildrequires to not require devel
- Run tests without conditional OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rope?expand=0&rev=18
This commit is contained in:
committed by
Git OBS Bridge
parent
7f273c8f79
commit
a89e9175db
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 29 11:52:04 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Fix buildrequires to not require devel
|
||||
- Run tests without conditional
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 9 07:55:22 UTC 2018 - mcepl@suse.com
|
||||
|
||||
|
@@ -18,7 +18,6 @@
|
||||
|
||||
%define upname rope
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-rope
|
||||
Version: 0.11.0
|
||||
Release: 0
|
||||
@@ -27,7 +26,7 @@ License: GPL-2.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/python-rope/rope
|
||||
Source: https://files.pythonhosted.org/packages/source/r/rope/rope-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -50,11 +49,9 @@ export LANG=en_US.UTF-8
|
||||
%fdupes %{buildroot}/%{$python_sitelib}
|
||||
}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user