After migrating the container used for Zuul CI from Fedora 34 to 35, the rpmllint version will be from 1.11 to 2.2. https://src.fedoraproject.org/rpms/rpmlint
At least we need to change the source of zuul-distro-jobs like this. And the result of rpmlint also will be changed.
$ git diff roles/rpm-lint/tasks/main.yaml diff --git a/roles/rpm-lint/tasks/main.yaml b/roles/rpm-lint/tasks/main.yaml index 545bd66..ff6a5f2 100644 --- a/roles/rpm-lint/tasks/main.yaml +++ b/roles/rpm-lint/tasks/main.yaml @@ -30,6 +30,6 @@ when: rpmlintrc_check is succeeded - name: Run rpmlint - shell: rpmlint {% if rpmlintrc | default("") %} --file {{ rpmlintrc }} {% endif %} ./*.spec ./*.rpm + shell: rpmlint {% if rpmlintrc | default("") %} -r {{ rpmlintrc }} {% endif %} ./*.spec ./*.rpm args: chdir: "{{ zuul.project.src_dir }}"
This ticket comes from https://pagure.io/fedora-ci/general/issue/330#comment-785908 .
Note I created a container to run rpmlint 1.11, and announced the container on the upstream. This might be helpful for people's smooth transition to rpmlint 2. https://github.com/rpm-software-management/rpmlint/issues/828
Metadata Update from @fbo: - Issue tagged with: Zuul CI
Note that many of our packages have rpmlintrc files for rpmlint 1. If we do make this change, I'd rather figure out how to migrate out config before the change happens.
This has been implemented. See: https://pagure.io/zuul-distro-jobs/c/c6f5ff90e56b4de5899921feb9e854c2ce5a4026?branch=master
Closing - please re-open if needed
Metadata Update from @fbo: - Issue status updated to: Closed (was: Open)
OK. Thanks!