diff --git a/chardet-5.0.0.tar.gz b/chardet-5.0.0.tar.gz deleted file mode 100644 index 53f1545664fb753dce5ba1e822a1a459d06f702d..0000000000000000000000000000000000000000 Binary files a/chardet-5.0.0.tar.gz and /dev/null differ diff --git a/chardet-5.1.0.tar.gz b/chardet-5.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f981cccf87816067ea7492cdbcc61b8e61e66a12 Binary files /dev/null and b/chardet-5.1.0.tar.gz differ diff --git a/python-chardet.spec b/python-chardet.spec index 9f42b22510b3bbc090cc2a72698111cd6d93db83..ad36ab544667bf406b378823f627e935baa4f7e0 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -1,12 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-chardet -Version: 5.0.0 +Version: 5.1.0 Release: 1 Summary: Universal encoding detector for Python 2 and 3 License: LGPL-2.1-only URL: https://github.com/chardet/chardet Source0: https://files.pythonhosted.org/packages/source/c/chardet/chardet-%{version}.tar.gz +Source1: setup.py BuildArch: noarch %description Universal encoding detector for Python 2 and 3 @@ -33,6 +34,7 @@ Universal encoding detector for Python 2 and 3 %prep %autosetup -n chardet-%{version} -p1 +cp %{SOURCE1} ./ %build %py3_build @@ -77,6 +79,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Dec 15 2022 lijian - 5.1.0-1 +- update to upstream version 5.1.0 + * Sat Oct 29 2022 zhuofeng - 5.0.0-1 - update to 5.0.0 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000000000000000000000000000000000..606849326a4002007fd42060b51e69a19c18675c --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup()