1
0

Accepting request 723943 from home:buschmann23:branches:devel:languages:python

fix build by adding pycountry-19.7.15-fix-reading-description.patch to fix wrong encoding when opening description files in setup.py

OBS-URL: https://build.opensuse.org/request/show/723943
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycountry?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-08-16 09:38:16 +00:00
committed by Git OBS Bridge
parent d7e563d720
commit 6edcc7c970
3 changed files with 43 additions and 0 deletions
+3
View File
@@ -26,6 +26,8 @@ License: LGPL-2.1-only
Group: Development/Libraries/Python
URL: https://pypi.python.org/pypi/pycountry/
Source: https://pypi.io/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pycountry-19.7.15-fix-reading-description.patch buschmann23@opensuse.org -- fix wrong enconding
Patch0: pycountry-19.7.15-fix-reading-description.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -45,6 +47,7 @@ Translation files for the various strings are included as well.
%prep
%setup -q -n %{real_name}-%{version}
%patch0 -p1
%build
%python_build