From 09b953d84596fa8aae8af401aaed2c9c12f911cf Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 3 May 2025 08:01:53 -0400 Subject: [PATCH 1/6] Update .rpmlintrc file for current rpmlint --- python-chardet.rpmlintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-chardet.rpmlintrc b/python-chardet.rpmlintrc index d5d9c0f..39210e7 100644 --- a/python-chardet.rpmlintrc +++ b/python-chardet.rpmlintrc @@ -6,3 +6,6 @@ addFilter(r" invalid-url Source[0-9]+: chardet-.*-filtered\.tar\.zst") addFilter(r" inconsistent-file-extension chardet-.*-filtered\.tar\.zst$") # The -doc subpackage was removed without an equivalent replacement. addFilter(r" obsolete-not-provided python-chardet-doc$") +# Update LGPLv2.1 license text and notices for remote-only FSF +# https://github.com/chardet/chardet/pull/307 +addFilter(r" incorrect-fsf-address ") From f3975537e1bfc5cb5d3a0a6e55c7bbaacd555631 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 3 May 2025 08:03:22 -0400 Subject: [PATCH 2/6] F41+: Use the provisional pyproject declarative buildsystem --- python-chardet.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/python-chardet.spec b/python-chardet.spec index 32cf21b..a851737 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -21,9 +21,10 @@ Source1: get_source # Hand-written for Fedora in groff_man(7) format based on --help output Source2: chardetect.1 -BuildArch: noarch +BuildSystem: pyproject +BuildOption(install): -l chardet -BuildRequires: python3-devel +BuildArch: noarch %global common_description %{expand: Chardet: The Universal Character Encoding Detector @@ -59,28 +60,12 @@ Obsoletes: python-chardet-doc < 5.2.0-12 %{common_description} -%prep -%autosetup -n chardet-%{version} - - -%generate_buildrequires -%pyproject_buildrequires - - -%build -%pyproject_wheel - - -%install -%pyproject_install -%pyproject_save_files -l chardet +%install -a install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE2}' -%check # We cannot run the upstream tests because they would require data files with # problematic license status. -%pyproject_check_import %files -n python3-chardet -f %{pyproject_files} From 1b67fcd42bd8008f8c7de99a818b355ae0baa5ac Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:12:11 +0200 Subject: [PATCH 3/6] Rebuilt for Python 3.14 From 74eeca08946304631670ec11c7a98652746b3059 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 07:09:54 +0000 Subject: [PATCH 4/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 2683a633718fd1f626e85ec0292f3c66a7a1c3bd Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:54:11 +0200 Subject: [PATCH 5/6] Rebuilt for Python 3.14.0rc2 bytecode From 17642dfc179aaf2e3ab07e2c3eb7e5c064de89c3 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:58:27 +0200 Subject: [PATCH 6/6] Rebuilt for Python 3.14.0rc3 bytecode