Description of problem: When trying to lint a spec file, I'm getting the following error message: ---------------- rpmlint -i clanlib0.6.spec (none): E: error while reading /home/oli/rpm-build/rpm/mga1/SPECS/clanlib0.6.spec: nothing to repeat 0 packages and 0 specfiles checked; 0 errors, 0 warnings. ---------------- When doing it on a src.rpm it's ---------------- rpmlint -i ../SRPMS/clanlib0.6-0.6.5-38mga1.src.rpm 0 packages and 0 specfiles checked; 0 errors, 0 warnings. Traceback (most recent call last): File "/usr/share/rpmlint/rpmlint.py", line 364, in <module> main() File "/usr/share/rpmlint/rpmlint.py", line 159, in main runChecks(pkg) File "/usr/share/rpmlint/rpmlint.py", line 219, in runChecks check.check(pkg) File "/usr/share/rpmlint/TagsCheck.py", line 689, in check self.check_description(pkg, lang, ignored_words) File "/usr/share/rpmlint/TagsCheck.py", line 848, in check_description spell_check(pkg, utf8desc, '%%description -l %s', lang, ignored_words) File "/usr/share/rpmlint/TagsCheck.py", line 498, in spell_check printWarning(pkg, 'spelling-error', fmt % lang, err.word, sug) File "/usr/share/rpmlint/Filter.py", line 37, in printWarning _print("W", pkg, reason, details) File "/usr/share/rpmlint/Filter.py", line 66, in _print if not Config.isFiltered(s): File "/usr/share/rpmlint/Config.py", line 164, in isFiltered _filters_re = re.compile(_filters_re) File "/usr/lib/python2.7/re.py", line 190, in compile return _compile(pattern, flags) File "/usr/lib/python2.7/re.py", line 245, in _compile raise error, v # invalid expression sre_constants.error: nothing to repeat ---------------- Version-Release number of selected component (if applicable): rpmlint-mageia-policy-0.2.8-2.mga1 Di 15 Mär 2011 18:08:30 CET rpmlint-1.0-1.mga1 So 06 Mär 2011 14:32:08 CET How reproducible: Just call rpmlint -i on any spec or src.rpm It was working - I think - until the last update of rpmlint-mageia-policy. Reproducible: Steps to Reproduce:
I suspect that the latest config change is wrong.
I cannot reproduce :/ Is the clanlib spec in the svn ?
Not yet, but it fails on pidgin-libnotify as well, which is in svn. ---------------- [obgr@prokyon SPECS]$ rpmlint -i pidgin-libnotify.spec (none): E: error while reading /home/oli/rpm-build/rpm/mga1/SPECS/pidgin-libnotify.spec: nothing to repeat 0 packages and 0 specfiles checked; 0 errors, 0 warnings. ---------------- And it did work for that one yesterday.
Ok, I type *. instead of .* in the filtering regexp. Should be fixed with next upload.
Status: NEW => RESOLVEDResolution: (none) => FIXED