diff --git a/chardetect.1 b/chardetect.1 index f6f0ff2..5bed48e 100644 --- a/chardetect.1 +++ b/chardetect.1 @@ -1,10 +1,12 @@ -.TH CHARDETECT "1" "June 2022" "" "User Commands" +.TH CHARDETECT "1" "February 2026" "" "User Commands" .SH NAME .B chardetect \(en takes one or more file paths and reports their detected encodings .SH SYNOPSIS .B chardetect .RB [ \-h ] +.RB [ \-\-minimal ] +.RB [ \-l ] .RB [ \-\-version ] .RI [ input \ ...] .SH OPTIONS @@ -17,13 +19,13 @@ File whose encoding we would like to determine. .SS "OPTIONAL ARGUMENTS" .TP .B \-h\fR, \fB\-\-help -show a help message and exit +Show a help message and exit. .TP .B \-\-minimal -Print only the encoding to standard output +Print only the encoding to standard output. .TP .B \-l\fR, \fB\-\-legacy Rename legacy encodings to more modern ones. .TP .B \-\-version -show program\(cqs version number and exit +Show program\(cqs version number and exit. 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 ") diff --git a/python-chardet.spec b/python-chardet.spec index 32cf21b..0f4fd1a 100644 --- a/python-chardet.spec +++ b/python-chardet.spec @@ -3,9 +3,9 @@ Version: 5.2.0 Release: %autorelease Summary: Python character encoding detector -# The entire source, after tests/ are filtered, is LGPL-2.0-or-later. See the +# The entire source, after tests/ are filtered, is LGPL-2.1-or-later. See the # comment above Source0 for more details on tests/. -License: LGPL-2.0-or-later +License: LGPL-2.1-or-later URL: https://github.com/chardet/chardet # A filtered source tarball, obtained by (see Source1): # @@ -52,9 +52,6 @@ disabled.} %package -n python3-chardet Summary: %{summary} -# Removed in F41: -Obsoletes: python-chardet-doc < 5.2.0-12 - %description -n python3-chardet %{common_description}