Skip to content

Fix rpmlint failures in RPM packaging - #5163

Open
tcornell-bus wants to merge 3 commits into
mainfrom
tcornell-fix-rpmlint
Open

tcornell-bus wants to merge 3 commits into
mainfrom
tcornell-fix-rpmlint

Conversation

@tcornell-bus

@tcornell-bus tcornell-bus commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Update rpmlintrc filter for:

  • The tmt package rename and jinja2 template files
  • Provisioner spelling warnings and errors
  • no-documentation warnings
  • Drop the redundant libvirt-daemon-config-network Requires already pulled in by python3-testcloud.
    • Details: python3-testcloud (required since Fedora 43 through current Rawhide) lists libvirt-daemon-config-network as one of its own Requires. Since tmt+provision-virtual already requires python3-testcloud >= 0.11.7, the libvirt-daemon-config-network dependency was being pulled in twice — once explicitly by tmt and once transitively through testcloud.

Assisted-by: Cursor AI

Fixes: #3323

Pull Request Checklist

  • implement the feature

@tcornell-bus tcornell-bus added the packaging Changes related to the rpm packaging label Sep 15, 2026
@github-project-automation github-project-automation Bot moved this to backlog in planning Sep 15, 2026
@tcornell-bus tcornell-bus moved this from backlog to review in planning Sep 15, 2026
Update rpmlintrc filters for the tmt package rename and provisioner
spelling.
Drop the redundant libvirt-daemon-config-network Requires
already pulled in by python3-testcloud.

Assisted-by: Cursor AI
@tcornell-bus tcornell-bus added the ci | full test Pull request is ready for the full test execution label Sep 15, 2026
Comment thread packaging/rpm/tmt.rpmlintrc Outdated
@@ -1,5 +1,9 @@
# The detach runner is intentionally not executable

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this line stil valid when the rule gets removed?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not removed, we just changed the package name and forgot to alter the rule also.

Although... why do we not make it executable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@psss might remember? I see it was originally added here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The support for the ancient detach execute method was dropped in:

Just forgotten line, can be safely removed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in 577e851

@LecrisUT LecrisUT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can also skip the no-documentation issues?

Comment thread packaging/rpm/tmt.rpmlintrc Outdated
Catch warnings and errors for provisioner spelling
Comment thread packaging/rpm/tmt.rpmlintrc Outdated
@@ -1,5 +1,12 @@
# The detach runner is intentionally not executable
addFilter("python3-tmt.noarch: E: non-executable-script")
# same with Jinja2 template scripts

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we just need to reword this one.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

addressed in 577e851

@psss psss changed the title fix rpmlint failures in RPM packaging Fix rpmlint failures in RPM packaging Sep 22, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci | full test Pull request is ready for the full test execution packaging Changes related to the rpm packaging

Projects

Status: review

Development

Successfully merging this pull request may close these issues.

Fix or waive failures reported by rpmlint

5 participants