Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix rpm spec isses #216

Merged
merged 4 commits into from
Mar 21, 2023
Merged

Conversation

mwperina
Copy link
Member

  • Fix rpm-lint summary issues
  • Fix rpm-lint description-line-too-long issue
  • Fix rpm-lint conffile-without-noreplace-flag issue

@mwperina
Copy link
Member Author

Fixed:

hirte.x86_64: E: summary-too-long Hirte is a service orchestrator tool intended for multi-node devices (e.g.: edge devices) clusters
hirte.x86_64: W: name-repeated-in-summary Hirte
hirte.x86_64: E: description-line-too-long Hirte is a service orchestrator tool intended for multi-node devices (e.g.: edge devices) clusters with a predefined
hirte.x86_64: E: description-line-too-long number of nodes and with a focus on highly regulated environment such as those requiring functional safety (for example
hirte-agent.x86_64: E: description-line-too-long Hirte is a service orchestrator tool intended for multi-node devices (e.g.: edge devices) clusters with a predefined
hirte-agent.x86_64: E: description-line-too-long number of nodes and with a focus on highly regulated environment such as those requiring functional safety (for example
hirte.x86_64: W: conffile-without-noreplace-flag /etc/hirte/hirte.conf
hirte-agent.x86_64: W: conffile-without-noreplace-flag /etc/hirte/agent.conf

Leave as is, because we want that behavior:

hirte.x86_64: W: non-conffile-in-etc /etc/dbus-1/system.d/org.containers.hirte.conf
hirte-agent.x86_64: W: non-conffile-in-etc /etc/dbus-1/system.d/org.containers.hirte.Agent.conf

Leave as is for now, it can be fixed later:

hirte.x86_64: W: dbus-policy-allow-receive <allow receive_sender="org.containers.hirte"/> /etc/dbus-1/system.d/org.containers.hirte.conf
hirte.x86_64: W: dbus-policy-allow-receive <allow receive_sender="org.containers.hirte"/> /etc/dbus-1/system.d/org.containers.hirte.conf
hirte-agent.x86_64: W: dbus-policy-allow-receive <allow receive_sender="org.containers.hirte.Agent"/> /etc/dbus-1/system.d/org.containers.hirte.Agent.conf
hirte-agent.x86_64: W: dbus-policy-allow-receive <allow receive_sender="org.containers.hirte.Agent"/> /etc/dbus-1/system.d/org.containers.hirte.Agent.conf

All errors has been fixed, so rpm-lint should pass now

hirte.spec.in Outdated Show resolved Hide resolved
Copy link
Member

@engelmi engelmi left a comment

Choose a reason for hiding this comment

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

LGTM

* summary-too-long - summary shouldn't be longer than 79 characters
* name-repeated-in-summary

Signed-off-by: Martin Perina <mperina@redhat.com>
Lines in %description directive should not exceed 79 characters

Signed-off-by: Martin Perina <mperina@redhat.com>
If user changes /etc/hirte/[hirte|agent].conf and we update the file
within RPM update, then the updated file will be saved as
/etc/hirte/[hirte|agent].conf.rpmnew

Signed-off-by: Martin Perina <mperina@redhat.com>
Signed-off-by: Martin Perina <mperina@redhat.com>
@mwperina mwperina merged commit 52635a7 into eclipse-bluechi:main Mar 21, 2023
@mwperina mwperina deleted the fix-rpm-spec-isses branch March 21, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants