Bug 2588044
| Summary: | Review Request: energy-tracker - CPU and GPU energy and electricity cost tracker | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stefan Bogdanescu <bogdan.izdrail> | ||||
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> | ||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | package-review | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| URL: | https://github.com/izdrail/energy.izdrail.com | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Stefan Bogdanescu
2026-12-01 16:43:50 UTC
Copr build: https://copr.fedorainfracloud.org/coprs/build/11416254 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2588044-energy-tracker/fedora-rawhide-x86_64/11416254-energy-tracker/fedora-review/review.txt Found issues: - Systemd user unit service file(s) in energy-tracker Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_user_units Please know that there can be false-positives. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string. Updated the package to Release 2. Spec URL: https://github.com/izdrail/energy.izdrail.com/releases/download/v0.1.2/energy-tracker.spec SRPM URL: https://github.com/izdrail/energy.izdrail.com/releases/download/v0.1.2/energy-tracker-0.1.2-2.fc44.src.rpm Changes in -2: - Added %systemd_user_post and %systemd_user_preun for the user unit energy-tracker.service. - Changelog entries added for -1 and -2. rpmlint on the SRPM and the built RPMs: 0 errors, 3 warnings (no manual page for the binary, Source1 is not a URL, empty %pre). I ran fedora-review locally in mock. It still lists the systemd user unit scriptlet check as an issue. I believe that is a false positive in the tool: it builds its regex from the full macro expansion including the trailing whitespace, and rpm strips that whitespace from the stored scriptlet, so it can't match the current macro. The built RPM does contain the scriptlets: %post runs systemd-update-helper install-user-units energy-tracker.service and %preun runs remove-user-units energy-tracker.service. Created attachment 2164631 [details]
The .spec file difference from Copr build 11416254 to 11418417
Copr build: https://copr.fedorainfracloud.org/coprs/build/11418417 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2588044-energy-tracker/fedora-rawhide-x86_64/11418417-energy-tracker/fedora-review/review.txt Found issues: - Systemd user unit service file(s) in energy-tracker Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_user_units Please know that there can be false-positives. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string. |