https://bugzilla.redhat.com/show_bug.cgi?id=2313784 Fabio Valentini <decathorpe@xxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? |fedora-review+ Status|ASSIGNED |POST --- Comment #28 from Fabio Valentini <decathorpe@xxxxxxxxx> --- Thank you both, the package now looks good to me! Package Review ============== Legend: ✅ = Pass, ⛔ = Fail, ⭕ = Not applicable, ❓ = Not evaluated Issues: ======= ⛔ Package must not depend on deprecated() packages. Note: python3-pytest7 is deprecated, you must not depend on it. See: https://docs.fedoraproject.org/en-US/packaging- guidelines/deprecating-packages/ ➡️ This is a false positive. The package depends on "python3dist(pytest)", which is provided by both python3-pytest and python3-pytest7, but it pulls in the non-deprecated version. ===== MUST items ===== C/C++: ✅ Development (unversioned) .so files in -devel subpackage, if present. Note: Unversioned so-files in private %_libdir subdirectory (see attachment). Verify they are not in ld path. ➡️ This is normal and expected for a native Python extensions. While this file *does* have an SONAME ELF header (caused by a change in Rust 1.81), the RPM Provides for this shared library are correctly filtered out. Generic: ✅ Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. ✅ License field in the package spec file matches the actual license. ✅ License file installed when any subpackage combination is installed. ✅ If the package is under multiple licenses, the licensing breakdown must be documented in the spec. ✅ Package must own all directories that it creates. ✅ %build honors applicable compiler flags or justifies otherwise. ✅ Package contains no bundled libraries without FPC exception. ✅ Changelog in prescribed format. ✅ 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 ✅ Package uses nothing in %doc for runtime. ✅ Package consistently uses macros (instead of hard-coded directory names). ✅ Package is named according to the Package Naming Guidelines. ✅ Package does not generate any conflict. ✅ Package obeys FHS, except libexecdir and /usr/target. ⭕ If the package is a rename of another package, proper Obsoletes and Provides are present. ✅ Requires correct, justified where necessary. ✅ Spec file is legible and written in American English. ⭕ Package contains systemd file(s) if in need. ✅ Useful -debuginfo package or justification otherwise. ✅ Package is not known to require an ExcludeArch tag. ✅ Package complies to the Packaging Guidelines ✅ Package successfully compiles and builds into binary rpms on at least one supported primary architecture. ✅ Package installs properly. ✅ Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). ✅ 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. ✅ The License field must be a valid SPDX expression. ✅ Package requires other packages for directories it uses. ✅ Package does not own files or directories owned by other packages. ✅ Package uses either %{buildroot} or $RPM_BUILD_ROOT ✅ Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. ✅ Macros in Summary, %description expandable at SRPM build time. ✅ Dist tag is present. ✅ Package does not contain duplicates in %files. ✅ Permissions on files are set properly. ✅ Package use %makeinstall only when make install DESTDIR=... doesn't work. ✅ Package is named using only allowed ASCII characters. ✅ Package does not use a name that already exists. ✅ Package is not relocatable. ✅ Sources used to build the package match the upstream source, as provided in the spec URL. ✅ Spec file name must match the spec package %{name}, in the format %{name}.spec. ✅ File names are valid UTF-8. ✅ Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 6748 bytes in 1 files. ✅ Packages must not store files under /srv, /opt or /usr/local Python: ✅ Python eggs must not download any dependencies during the build process. ⭕ A package which is used by another package via an egg interface should provide egg info. ✅ Package meets the Packaging Guidelines::Python ✅ Package contains BR: python2-devel or python3-devel ✅ Packages MUST NOT have dependencies (either build-time or runtime) on packages named with the unversioned python- prefix unless no properly versioned package exists. Dependencies on Python packages instead MUST use names beginning with python2- or python3- as appropriate. ✅ Python packages must not contain %{pythonX_site(lib|arch)}/* in %files ✅ Binary eggs must be removed in %prep ===== 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. ✅ Final provides and requires are sane (see attachments). ⭕ Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in python3-jiter ❓ Package functions as described. ✅ Latest version is packaged. ✅ Package does not include license text files separate from upstream. ⭕ Sources are verified with gpgverify first in %prep if upstream publishes signatures. ✅ Package should compile and build into binary rpms on all supported architectures. ✅ %check is present and all tests pass. ✅ Packages should try to preserve timestamps of original installed files. ✅ Reviewer should test that the package builds in mock. ✅ Buildroot is not present ✅ Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) ✅ No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. ✅ Packager, Vendor, PreReq, Copyright tags should not be in spec file ✅ Sources can be downloaded from URI in Source: tag ✅ SourceX is a working URL. ✅ Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: ✅ Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). ✅ Large data in /usr/share should live in a noarch subpackage if package is arched. ✅ Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: python3-jiter-0.5.0-1.fc42.x86_64.rpm python-jiter-debugsource-0.5.0-1.fc42.x86_64.rpm python-jiter-0.5.0-1.fc42.src.rpm ============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.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/tmpsz7l8sxk')] checks: 32, packages: 3 python-jiter.src: E: spelling-error ('iterable', 'Summary(en_US) iterable -> alterable, tolerable, iterate') python-jiter.src: E: spelling-error ('iterable', '%description -l en_US iterable -> alterable, tolerable, iterate') python3-jiter.x86_64: E: spelling-error ('iterable', 'Summary(en_US) iterable -> alterable, tolerable, iterate') python3-jiter.x86_64: E: spelling-error ('iterable', '%description -l en_US iterable -> alterable, tolerable, iterate') 3 packages and 0 specfiles checked; 4 errors, 0 warnings, 11 filtered, 4 badness; has taken 0.5 s ➡️ This is a false positive, "iterable" is the correct spelling of the technical term. Rpmlint (installed packages) ---------------------------- ============================ rpmlint session starts ============================ rpmlint: 2.5.0 configuration: /usr/lib/python3.13/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: 32, packages: 2 python3-jiter.x86_64: E: spelling-error ('iterable', 'Summary(en_US) iterable -> alterable, tolerable, iterate') python3-jiter.x86_64: E: spelling-error ('iterable', '%description -l en_US iterable -> alterable, tolerable, iterate') 2 packages and 0 specfiles checked; 2 errors, 0 warnings, 7 filtered, 2 badness; has taken 0.1 s ➡️ This is a false positive, "iterable" is the correct spelling of the technical term. Unversioned so-files -------------------- python3-jiter: /usr/lib64/python3.13/site-packages/jiter/jiter.cpython-313-x86_64-linux-gnu.so ➡️ This is OK and expected for native Python extensions. Source checksums ---------------- https://files.pythonhosted.org/packages/source/j/jiter/jiter-0.5.0.tar.gz : CHECKSUM(SHA256) this package : 1d916ba875bcab5c5f7d927df998c4cb694d27dceddf3392e58beaf10563368a CHECKSUM(SHA256) upstream package : 1d916ba875bcab5c5f7d927df998c4cb694d27dceddf3392e58beaf10563368a Requires -------- python3-jiter (rpmlib, GLIBC filtered): ld-linux-x86-64.so.2()(64bit) libc.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) python(abi) rtld(GNU_HASH) python-jiter-debugsource (rpmlib, GLIBC filtered): Provides -------- python3-jiter: python-jiter python3-jiter python3-jiter(x86-64) python3.13-jiter python3.13dist(jiter) python3dist(jiter) python-jiter-debugsource: python-jiter-debugsource python-jiter-debugsource(x86-64) -- 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=2313784 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202313784%23c28 -- _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue