Bug 2560329
| Summary: | Review Request: erlang-erlfmt - An automated code formatter for Erlang | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Lemenkov <lemenkov> |
| Component: | Package Review | Assignee: | Benson Muite <benson_muite> |
| Status: | ON_QA --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | benson_muite, package-review |
| Target Milestone: | --- | Flags: | benson_muite:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| 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: | |||
|
Description
Peter Lemenkov
2026-10-24 21:52:18 UTC
Package Review
==============
Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed
===== MUST items =====
Generic:
[x]: Package is licensed with an open-source compatible license and meets
other legal requirements as defined in the legal section of Packaging
Guidelines.
[x]: License field in the package spec file matches the actual license.
Note: Checking patched sources after %prep for licenses. Licenses
found: "Unknown or generated", "*No copyright* Apache License 2.0",
"Apache License 2.0". 77 files have unknown license. Detailed output
of licensecheck in /home/fedora-packaging-local/reviews/erlang-
erlfmt/2560329-erlang-erlfmt/licensecheck.txt
[x]: Package contains no bundled libraries or specifies bundled libraries
with Provides: bundled(<libname>) if unbundling is not possible.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
(~1MB) or number of files.
Note: Documentation size is 158575 bytes in 27 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
license(s) in its own file, then that file, containing the text of the
license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
%{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local
===== SHOULD items =====
Generic:
[x]: If the source package does not include license text(s) as a separate
file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[ ]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
publishes signatures.
Note: gpgverify is not used.
[x]: Package should compile and build into binary rpms on all supported
architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
$RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.
===== EXTRA items =====
Generic:
[x]: Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.
Rpmlint
-------
Checking: erlang-erlfmt-1.8.0-1.fc46.noarch.rpm
erlang-erlfmt-1.8.0-1.fc46.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmpx79l8gcl')]
checks: 32, packages: 2
erlang-erlfmt.noarch: E: spelling-error ('formatter', 'Summary(en_US) formatter -> formatted, for matter, for-matter')
erlang-erlfmt.noarch: E: spelling-error ('formatter', '%description -l en_US formatter -> formatted, for matter, for-matter')
erlang-erlfmt.src: E: spelling-error ('formatter', 'Summary(en_US) formatter -> formatted, for matter, for-matter')
erlang-erlfmt.src: E: spelling-error ('formatter', '%description -l en_US formatter -> formatted, for matter, for-matter')
erlang-erlfmt.noarch: E: env-script-interpreter /usr/share/doc/erlang-erlfmt/doc/FormattingDecisionComments/columns.sh /usr/bin/env bash
erlang-erlfmt.noarch: E: env-script-interpreter /usr/share/doc/erlang-erlfmt/doc/FormattingDecisionComments/module_comments.sh /usr/bin/env bash
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/erlfmt.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/erlfmt.erl
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/erlfmt_algebra.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/erlfmt_algebra.erl
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/erlfmt_cli.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/erlfmt_cli.erl
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/erlfmt_format.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/erlfmt_format.erl
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/erlfmt_parse.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/erlfmt_parse.erl
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/erlfmt_recomment.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/erlfmt_recomment.erl
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/erlfmt_scan.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/erlfmt_scan.erl
erlang-erlfmt.noarch: W: beam-was-not-recompiled /usr/share/erlang/lib/erlfmt-1.8.0/ebin/rebar3_fmt_prv.beam /builddir/build/BUILD/erlang-erlfmt-1.8.0-build/erlfmt-1.8.0/src/rebar3_fmt_prv.erl
2 packages and 0 specfiles checked; 6 errors, 8 warnings, 7 filtered, 6 badness; has taken 0.7 s
Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.10.0
configuration:
/usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
checks: 33, packages: 1
erlang-erlfmt.noarch: W: spelling-error ('formatter', 'Summary(en_US) formatter -> formatted, for matter, for-matter')
erlang-erlfmt.noarch: W: spelling-error ('formatter', '%description -l en_US formatter -> formatted, for matter, for-matter')
erlang-erlfmt.noarch: E: env-script-interpreter /usr/share/doc/erlang-erlfmt/doc/FormattingDecisionComments/columns.sh /usr/bin/env bash
erlang-erlfmt.noarch: E: env-script-interpreter /usr/share/doc/erlang-erlfmt/doc/FormattingDecisionComments/module_comments.sh /usr/bin/env bash
1 packages and 0 specfiles checked; 2 errors, 2 warnings, 3 filtered, 2 badness; has taken 0.4 s
Source checksums
----------------
https://github.com/WhatsApp/erlfmt/archive/v1.8.0/erlfmt-1.8.0.tar.gz :
CHECKSUM(SHA256) this package : c7205f3a28dac589c623f21546d63d5b04cc669545d03485cb88552de0117f43
CHECKSUM(SHA256) upstream package : c7205f3a28dac589c623f21546d63d5b04cc669545d03485cb88552de0117f43
Requires
--------
erlang-erlfmt (rpmlib, GLIBC filtered):
erlang-erts(x86-64)
erlang-getopt
erlang-kernel(x86-64)
erlang-providers
erlang-rebar3
erlang-stdlib(x86-64)
Provides
--------
erlang-erlfmt:
erlang-erlfmt
Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -b 2560329
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: PHP, C/C++, R, fonts, Ocaml, Haskell, Java, Perl, SugarActivity, Python
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT
Comments:
a) Seems ok. Approved.
b) Review of:
https://bugzilla.redhat.com/show_bug.cgi?id=2556387
would be appreciated if time allows.
Thanks, Benson! This rhbz #2556387 was taken already - I'll grab some of the next ones, opened by you as they come. The Pagure repository was created at https://src.fedoraproject.org/rpms/erlang-erlfmt Monitoring: Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org` FEDORA-2026-72e7d90caf (erlang-erlfmt-1.8.0-1.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-72e7d90caf FEDORA-2026-10c6e35538 (erlang-erlfmt-1.8.0-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-10c6e35538 FEDORA-2026-72e7d90caf has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-72e7d90caf \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-72e7d90caf See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-10c6e35538 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-10c6e35538 \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-10c6e35538 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-7be034a43e has been pushed to the Fedora 45 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7be034a43e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7be034a43e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-87fa8a6d05 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-87fa8a6d05` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-87fa8a6d05 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. |