From 5cc66cb5c23b21d914583a5e75c828b76c10b603 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Sep 16 2021 13:16:50 +0000 Subject: rebuild with git+lookaside --- diff --git a/.python-charset-normalizer.metadata b/.python-charset-normalizer.metadata new file mode 100644 index 0000000..3e0f7ce --- /dev/null +++ b/.python-charset-normalizer.metadata @@ -0,0 +1 @@ +aaf6de930f4b68772f47ebcfb35651d4f7732a45 SOURCES/2.0.4.tar.gz diff --git a/SPECS/python-charset-normalizer.spec b/SPECS/python-charset-normalizer.spec new file mode 100644 index 0000000..fae60fb --- /dev/null +++ b/SPECS/python-charset-normalizer.spec @@ -0,0 +1,63 @@ +Name: python-charset-normalizer +Version: 2.0.4 +Release: 2%{?dist} +Summary: The Real First Universal Charset Detector + +License: MIT +URL: https://github.com/ousret/charset_normalizer +Source0: %{url}/archive/refs/tags/%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: python3dist(pytest) + + +%description +A library that helps you read text from an unknown charset encoding. +Motivated by chardet, trying to resolve the issue by taking +a new approach. All IANA character set names for which the Python core +library provides codecs are supported. + +%package -n python3-charset-normalizer +Summary: %{summary} + +%description -n python3-charset-normalizer +A library that helps you read text from an unknown charset encoding. +Motivated by chardet, trying to resolve the issue by taking +a new approach. All IANA character set names for which the Python core +library provides codecs are supported. + +%prep +%autosetup -n charset_normalizer-%{version} +# Remove pytest-cov settings from setup.cfg +sed -i "/addopts = --cov/d" setup.cfg + +%generate_buildrequires +%pyproject_buildrequires -r + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files charset_normalizer + +%check +%pytest + +%files -n python3-charset-normalizer -f %{pyproject_files} +%license LICENSE +%doc README.md +%{_bindir}/normalizer + +%changelog +* Thu Sep 16 2021 Kaleb S. KEITHLEY - 2.0.4-2 +- rebuild with git+lookaside + +* Mon Aug 02 2021 Lumír Balhar - 2.0.4-1 +- Update to 2.0.4 +Resolves: rhbz#1988575 + +* Wed Jul 21 2021 Lumír Balhar - 2.0.3-1 +- Initial package