Support pytest 4 (#1687942)
This commit is contained in:
parent
0d57d4096d
commit
31fb39b3ae
2 changed files with 27 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue