Support pytest 4 (#1687942)

This commit is contained in:
Miro Hrončok 2019-03-12 18:53:12 +01:00
commit 31fb39b3ae
2 changed files with 27 additions and 1 deletions

View file

@ -7,6 +7,9 @@ License: LGPLv2
URL: https://github.com/%{pypi_name}/%{pypi_name}
Source0: %pypi_source
# pytest 4 support
Patch1: https://github.com/chardet/chardet/pull/174.patch
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python2-setuptools
@ -45,7 +48,7 @@ smart as your browser. Open source.
Python 3 version.
%prep
%setup -q -n %{pypi_name}-%{version}
%autosetup -p1 -n %{pypi_name}-%{version}
sed -ie '1d' %{pypi_name}/cli/chardetect.py
%build