V Fri, Jun 09, 2023 at 06:58:46PM +0200, Fabrice Creuzot napsal(a): > 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 > It ignores descriptions in the default langague. I also found that it does not spell-check spec files. I reported it at <https://github.com/rpm-software-management/rpmlint/issues/1072>. -- Petr
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ 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