Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33616ead2e | ||
|
|
b2d3b9d65a | ||
|
|
bf115efe89 | ||
|
|
29d8b20693 |
3 changed files with 11 additions and 9 deletions
10
chardetect.1
10
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.
|
||||
|
|
|
|||
|
|
@ -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 ")
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue