From b9ec474afcbddbc95fde1b8752dbcd2b230d3bd52c4f587ccbc0dfc9a4d015fe Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 11:46:14 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=33 --- python-WSME.changes | 5 +++++ python-WSME.spec | 17 +++++++---------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/python-WSME.changes b/python-WSME.changes index 92dfd6d..fb75fed 100644 --- a/python-WSME.changes +++ b/python-WSME.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 11:46:03 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Tue Dec 4 12:56:10 UTC 2018 - Matej Cepl diff --git a/python-WSME.spec b/python-WSME.spec index 070c6e9..87949ab 100644 --- a/python-WSME.spec +++ b/python-WSME.spec @@ -1,7 +1,7 @@ # # spec file for package python-WSME # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -22,31 +22,28 @@ Version: 0.9.3 Release: 0 Summary: Web Services Made Easy License: MIT -Group: Development/Languages/Python -Url: http://packages.python.org/WSME/ +URL: https://packages.python.org/WSME/ Source: https://files.pythonhosted.org/packages/source/W/WSME/WSME-%{version}.tar.gz -BuildRequires: %{python_module pbr} -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros # Test requirements: BuildRequires: %{python_module WebOb >= 1.2.3} BuildRequires: %{python_module WebTest} BuildRequires: %{python_module mock} BuildRequires: %{python_module netaddr >= 0.7.12} BuildRequires: %{python_module nose} +BuildRequires: %{python_module pbr} BuildRequires: %{python_module pecan} BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module simplegeneric} BuildRequires: %{python_module six >= 1.9.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-WebOb >= 1.2.3 Requires: python-netaddr >= 0.7.12 Requires: python-pytz Requires: python-simplegeneric Requires: python-six >= 1.9.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -63,7 +60,7 @@ with focus on extensibility, framework-independence and improved type handling. %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_exec %{_bindir}/nosetests -v tests/pecantest tests/rest