From 062e753dd503a212b805c1e9e7cc757f6df2bef3bee448f2f9bb94682f94b453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 2 Feb 2018 13:40:57 +0000 Subject: [PATCH] - Fix url for the project OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sure?expand=0&rev=15 --- python-sure.changes | 5 +++++ python-sure.spec | 12 ++---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/python-sure.changes b/python-sure.changes index ca10e7d..b7e1745 100644 --- a/python-sure.changes +++ b/python-sure.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 2 13:38:53 UTC 2018 - tchvatal@suse.com + +- Fix url for the project + ------------------------------------------------------------------- Sat Nov 4 02:06:40 UTC 2017 - arun@gmx.de diff --git a/python-sure.spec b/python-sure.spec index edda0bf..f72df25 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -1,7 +1,7 @@ # # spec file for package python-sure # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,6 @@ # -%bcond_without test - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sure Version: 1.4.7 @@ -29,16 +27,13 @@ Url: https://github.com/requests/sure Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module mock >= 2.0.0} +BuildRequires: %{python_module nose} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.10.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module nose} -%endif Requires: python-mock >= 2.0.0 Requires: python-six >= 1.10.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -57,13 +52,10 @@ sed -i '/^#!/d' sure/*.py %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %python_expand nosetests-%{$python_bin_suffix} -%endif %files %{python_files} -%defattr(-,root,root,-) %doc COPYING README.rst %{python_sitelib}/*