15
0
forked from pool/python-WSME

- 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
This commit is contained in:
2019-10-14 11:46:14 +00:00
committed by Git OBS Bridge
parent 0ef905c6b0
commit b9ec474afc
2 changed files with 12 additions and 10 deletions

View File

@@ -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