https://bugzilla.redhat.com/show_bug.cgi?id=2555585
Terje Rosten <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|[email protected] |[email protected] Status|NEW |ASSIGNED Flags| |fedora-review? --- Comment #5 from Terje Rosten <[email protected]> --- 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. [x]: If the package is under multiple licenses, the licensing breakdown must be documented in the spec. [x]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by: /etc/prometheus(alertmanager, prometheus) [x]: %build honors applicable compiler flags or justifies otherwise. [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. [x]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [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 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]: %config files are marked noreplace or the reason is justified. [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]: No %config files under /usr. [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]: systemd_post is invoked in %post, systemd_preun in %preun, and systemd_postun in %postun for Systemd service files. Note: Systemd service file(s) in prometheus-exporter-exporter [x]: File names are valid UTF-8. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 9239 bytes in 2 files. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [-]: 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). [x]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [!]: Patches link to upstream bugs/comments/lists or are otherwise justified. [x]: SourceX tarball generation or download is documented. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. [x]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Spec use %global instead of %define unless justified. [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]: Package should compile and build into binary rpms on all supported architectures. ===== EXTRA items ===== Generic: [x]: Rpmlint is run on debuginfo package(s). Note: No rpmlint messages. [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: prometheus-exporter-exporter-0.6.1-1.fc46.x86_64.rpm prometheus-exporter-exporter-0.6.1-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/tmp4viuozff')] checks: 32, packages: 2 prometheus-exporter-exporter.src: E: spelling-error ('behaviour', '%description -l en_US behaviour -> behavior, behaviors, behave') prometheus-exporter-exporter.src: E: spelling-error ('depedencies', "%description -l en_US depedencies -> dependencies, dependence's, dependency's") prometheus-exporter-exporter.src: E: spelling-error ('auditable', '%description -l en_US auditable -> editable, audit able, audit-able') prometheus-exporter-exporter.x86_64: E: spelling-error ('behaviour', '%description -l en_US behaviour -> behavior, behaviors, behave') prometheus-exporter-exporter.x86_64: E: spelling-error ('depedencies', "%description -l en_US depedencies -> dependencies, dependence's, dependency's") prometheus-exporter-exporter.x86_64: E: spelling-error ('auditable', '%description -l en_US auditable -> editable, audit able, audit-able') prometheus-exporter-exporter.spec: W: patch-not-applied Patch1: fix-panic-prometheus-0.67.patch prometheus-exporter-exporter.x86_64: W: no-manual-page-for-binary exporter_exporter prometheus-exporter-exporter.spec:16: W: mixed-use-of-spaces-and-tabs (spaces: line 16, tab: line 14) prometheus-exporter-exporter.spec:84: W: macro-in-comment %go_vendor_license_check prometheus-exporter-exporter.spec: W: invalid-url Source1: exporter_exporter-0.6.1-vendor.tar.bz2 prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/AUTHORS /usr/share/doc/prometheus-exporter-exporter/AUTHORS prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/procfs/LICENSE /usr/share/licenses/prometheus-exporter-exporter/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_golang/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_model/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/common/LICENSE prometheus-exporter-exporter.src: E: description-line-too-long * A single port can be used to query multiple exporters (to ease firewall configuration concerns). prometheus-exporter-exporter.x86_64: E: description-line-too-long * A single port can be used to query multiple exporters (to ease firewall configuration concerns). 2 packages and 0 specfiles checked; 8 errors, 7 warnings, 18 filtered, 8 badness; has taken 0.5 s Rpmlint (debuginfo) ------------------- Checking: prometheus-exporter-exporter-debuginfo-0.6.1-1.fc46.x86_64.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/tmphh4nesqi')] checks: 32, packages: 1 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 6 filtered, 0 badness; has taken 0.5 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: 2 prometheus-exporter-exporter.x86_64: W: unused-direct-shlib-dependency /usr/bin/exporter_exporter /lib64/libresolv.so.2 prometheus-exporter-exporter.x86_64: W: spelling-error ('behaviour', '%description -l en_US behaviour -> behavior') prometheus-exporter-exporter.x86_64: W: spelling-error ('depedencies', '%description -l en_US depedencies -> dependencies, expediencies, presidencies') prometheus-exporter-exporter.x86_64: W: no-manual-page-for-binary exporter_exporter prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/AUTHORS /usr/share/doc/prometheus-exporter-exporter/AUTHORS prometheus-exporter-exporter.x86_64: W: files-duplicate /usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/procfs/LICENSE /usr/share/licenses/prometheus-exporter-exporter/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_golang/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/client_model/LICENSE:/usr/share/licenses/prometheus-exporter-exporter/vendor/github.com/prometheus/common/LICENSE prometheus-exporter-exporter.x86_64: E: description-line-too-long * A single port can be used to query multiple exporters (to ease firewall configuration concerns). 2 packages and 0 specfiles checked; 1 errors, 6 warnings, 21 filtered, 1 badness; has taken 0.2 s Source checksums ---------------- https://github.com/tcolgate/exporter_exporter/archive/v0.6.1/exporter_exporter-0.6.1.tar.gz : CHECKSUM(SHA256) this package : bb40fb97538027a31e454ec326213a65dbf20a8973c0531b28cd2dbbfc0f3cb2 CHECKSUM(SHA256) upstream package : bb40fb97538027a31e454ec326213a65dbf20a8973c0531b28cd2dbbfc0f3cb2 Requires -------- prometheus-exporter-exporter (rpmlib, GLIBC filtered): /bin/sh config(prometheus-exporter-exporter) libc.so.6()(64bit) libresolv.so.2()(64bit) rtld(GNU_HASH) Provides -------- prometheus-exporter-exporter: bundled(golang(github.com/beorn7/perks)) bundled(golang(github.com/cespare/xxhash/v2)) bundled(golang(github.com/davecgh/go-spew)) bundled(golang(github.com/kr/text)) bundled(golang(github.com/munnerz/goautoneg)) bundled(golang(github.com/pmezard/go-difflib)) bundled(golang(github.com/prometheus/client_golang)) bundled(golang(github.com/prometheus/client_model)) bundled(golang(github.com/prometheus/common)) bundled(golang(github.com/prometheus/procfs)) bundled(golang(github.com/rogpeppe/go-internal)) bundled(golang(github.com/sirupsen/logrus)) bundled(golang(go.yaml.in/yaml/v2)) bundled(golang(golang.org/x/sync)) bundled(golang(golang.org/x/sys)) bundled(golang(google.golang.org/protobuf)) bundled(golang(gopkg.in/yaml.v3)) config(prometheus-exporter-exporter) prometheus-exporter-exporter prometheus-exporter-exporter(x86-64) Summary: o link to pr: https://github.com/tcolgate/exporter_exporter/pull/8, not diff o simplify to one line: install -m 0755 -vd %{buildroot}%{_sbindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_sbindir} -> install -m 0755 -D -vp %{gobuilddir}/bin/exporter_exporter %{buildroot}%{_sbindir}/exporter_exporter o fix too long description lines o fix spell of "depedencies" o use tab oin line 16 (or untabify everything) o use sysusers.d to manage user: https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/ https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers o reduce use %{name} as it don't readability -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2555585 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202555585%23c5 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
