15
0

Accepting request 963677 from home:pgajdos:python

- do not require mock for build
- added patches
  fix https://github.com/xolox/python-humanfriendly/issues/62
  + python-humanfriendly-no-mock.patch

OBS-URL: https://build.opensuse.org/request/show/963677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=34
This commit is contained in:
2022-03-21 14:23:27 +00:00
committed by Git OBS Bridge
parent cce0728ad2
commit fa194d8080
3 changed files with 25 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,8 @@ Summary: Human friendly input/output for text interfaces using Python
License: MIT
URL: https://github.com/xolox/python-humanfriendly
Source: https://files.pythonhosted.org/packages/source/h/humanfriendly/humanfriendly-%{version}.tar.gz
# https://github.com/xolox/python-humanfriendly/issues/62
Patch0: python-humanfriendly-no-mock.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -73,6 +75,7 @@ text interfaces more user friendly.
%prep
%setup -q -n humanfriendly-%{version}
%patch0 -p1
%build
%python_build