From a89e9175db36e23280ea046ddc39bf2cff37f390db553e675de1b4f8ff5a5a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 29 Aug 2018 11:53:17 +0000 Subject: [PATCH] - 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 --- python-rope.changes | 6 ++++++ python-rope.spec | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-rope.changes b/python-rope.changes index 15ccb81..a169d5a 100644 --- a/python-rope.changes +++ b/python-rope.changes @@ -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 diff --git a/python-rope.spec b/python-rope.spec index 4c94aef..79046c3 100644 --- a/python-rope.spec +++ b/python-rope.spec @@ -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