Command used: rpmlint file.spec file.rpm
But I think there is something wrong anyway.
Here is an example.
Since the beginning my spec file:
- %description ...
- %description -l fr ...
With rpmlint 2.4.0 + hunspell-fr
- (none): W: unable to load spellchecking dictionary for fr.
With rpmlint 2.4.0 + aspell-en aspell-fr enchant2-aspell
- file.src: E: spelling-error ('dgdfhune', '%description -l fr dgdfhune
-> déshuntage')
- file.x86_64: E: spelling-error ('dgdfhune', '%description -l fr
dgdfhune -> déshuntage')
Now by updating my spec file like this
- %description -l en ...
- %description -l fr ...
With rpmlint 2.4.0 + aspell-en aspell-fr enchant2-aspell
- file.src: E: spelling-error ('dgdfhune', '%description -l fr dgdfhune
-> déshuntage')
- file.src: E: spelling-error ('visualffl', '%description -l en
visualffl -> visual')
- file.x86_64: E: no-description-tag
Le 09/06/2023 à 09:34, Petr Pisar a écrit :
V Thu, Jun 08, 2023 at 07:32:37PM +0200, Fabrice Creuzot napsal(a):
Ok, perfect with aspell-fr + enchant2-aspell.
So I replace hunspell-fr by aspell-fr!
May I know how did you make rpmlint to check a spelling? For me since the
replacement of rpmlint with rpmlint2, rpmlint does not report any
misspellings. I have installed:
rpmlint-2.4.0-8.fc39.noarch
enchant2-2.5.0-1.fc39.x86_64
python3-enchant-3.2.2-6.fc38.noarch
enchant2-aspell-2.5.0-1.fc39.x86_64
aspell-0.60.8-11.fc38.x86_64
aspell-en-2020.12.07-7.fc38.x86_64
Enchant itself works:
$ echo mispeling | enchant-2 -l -d en
mispeling
but running rpmlint on a spec file with the very same misspelled word in
a description does not report any error.
-- Petr
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue