Bug 22013 - rpmlint reports config file error and ignores rpmlint-mageia-policy)
Summary: rpmlint reports config file error and ignores rpmlint-mageia-policy)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Neal Gompa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-12 13:35 CET by Barry Jackson
Modified: 2017-11-13 01:29 CET (History)
1 user (show)

See Also:
Source RPM: rpmlint-1.10-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Barry Jackson 2017-11-12 13:35:43 CET
Description of problem:
Building a source rpm in cauldron and then checking it with rpmlint outputs the following in this example (not in svn):

(none): W: error loading /etc/rpmlint/config, skipping: invalid syntax (config, line 10)
pcb-rnd.src: W: spelling-error %description -l en_US geda -> egad, aged, Leda
pcb-rnd.src: E: no-changelogname-tag
pcb-rnd.src: E: no-signature
pcb-rnd.src:41: W: configure-without-libdir-spec
pcb-rnd.src: W: no-cleaning-of-buildroot %clean
pcb-rnd.src: W: no-cleaning-of-buildroot %install
pcb-rnd.src: W: no-buildroot-tag
pcb-rnd.src: W: invalid-url Source0: pcb-rnd-12782.tar.gz
1 packages and 0 specfiles checked; 2 errors, 6 warnings.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
Neal Gompa 2017-11-12 14:27:12 CET

CC: (none) => ngompa13
Assignee: bugsquad => ngompa13

Neal Gompa 2017-11-12 15:20:17 CET

Status: NEW => ASSIGNED

Comment 1 Neal Gompa 2017-11-12 15:21:36 CET
The rpmlint config file is regular Python, and it wasn't ported to Python 3 when I updated to rpmlint 1.10 (which is a Python 3 program now).

I've just submitted rpmlint-1.10-2.mga6 to the build system to fix the problem.
Comment 2 Neal Gompa 2017-11-12 15:22:02 CET
Err, rpmlint-1.10-2.mga7. :)
Comment 3 Barry Jackson 2017-11-13 01:29:06 CET
Updated, accepted rpmnew and working OK so closing.

Thanks Neal.

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.