https://bugzilla.redhat.com/show_bug.cgi?id=2497737

Renich Bon Ciric <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected]    |[email protected]
              Flags|                            |fedora-review?



--- Comment #47 from Renich Bon Ciric <[email protected]> ---
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

Blocking item before approval (fedora-review+):
1. License tag (SPDX):
   The binary RPM ships generated Sphinx HTML static assets under
   `%{_datadir}/dupeguru/help/*/_static/` (`doctools.js`/`basic.css` under
   `BSD-2-Clause`, `haiku.css` under `MIT`, and Snowball `*-stemmer.js`
   under `BSD-3-Clause`), plus `dupeguru/core/pe/exif.py` derived from
   Thierry Bousch's public-domain `exifdump.py`. Per Fedora's SPDX rules
   (no effective-license collapsing for files shipped in the binary RPM),
   please update `License:` to:
     License: GPL-3.0-only AND BSD-2-Clause AND BSD-3-Clause AND MIT AND
LicenseRef-Fedora-Public-Domain
   (Note: `dupeguru/hscommon/LICENSE` is an old unused BSD-3-Clause file in
   the source tree that is not installed in the binary RPM; all `hscommon/*.py`
   headers and `pkg/debian/copyright` were cleanly updated to GPLv3.)

Minor SHOULD cleanups (non-blocking):
2. Spec & launcher polish:
   - Drop redundant explicit `Requires:` already generated automatically by
     `python3dist(...)` and shebangs (`python3`, `python3-mutagen`,
     `python3-semantic_version`, `python3-send2trash`, `python3-xxhash`),
     keeping only `python3-defusedxml`, `python3-pyqt6`, and
     `hicolor-icon-theme`.
   - Escape macros in comments at lines 92-93 (`%%{python3_sitearch}`,
     `%%{_datadir}`, `%%{name}`) to silence `rpmlint` `macro-in-comment`.
   - Optional: in `run.py`, consider `os.environ.setdefault("QT_QPA_PLATFORM",
"xcb")`
     instead of overwriting `QT_QPA_PLATFORM` unconditionally.


===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: Development (unversioned) .so files in -devel subpackage, if present.
     Note: Python Cython/C extension modules (`_block`, `_cache`, `_block_qt`)
     reside in private `%{python3_sitearch}/dupeguru/` (not in ld path).
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Package does not contain any libtool archives (.la)
[x]: Package contains no static executables.
[x]: Rpath absent or only used for internal libs.

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. (Old 4-clause notice in `pkg/debian/copyright` has been
     removed upstream in `cd95e68`; all shipped licenses are Fedora-allowed.)
[!]: License field in the package spec file matches the actual license.
     Note: Add SPDX identifiers for shipped Sphinx `_static/` assets and
     public-domain `exif.py` derivation (see item #1 above).
[x]: Package must own all directories that it creates.
     Note: `/usr/lib64/python3.15/site-packages` is owned by `python3-libs`
     in Rawhide.
[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 (`%autochangelog`).
[x]: Sources contain only permissible code or content.
[-]: 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]: Useful -debuginfo package or justification otherwise.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage.
[x]: Package complies to the Packaging Guidelines.
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture (`fedora-rawhide-x86_64`, Python 3.15).
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
[x]: License text included in `%license`.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[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} at the beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package contains desktop file if it is a GUI application.
[x]: Package installs a %{name}.desktop using desktop-file-validate.
[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 (SHA256:
     `f36612f52e1fc94d038529140f3490d1de0441309b75c08a0c9bb858c42e465a`).
[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.

Python:
[x]: Python eggs must not download any dependencies during the build process.
[x]: A package which is used by another package via an egg interface should
     provide egg info (`.dist-info` present).
[x]: Package meets the Packaging Guidelines::Python.
[x]: Package contains BR: python3-devel.
[x]: Packages MUST NOT have dependencies on packages named with the
     unversioned python- prefix.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files.
[x]: Binary eggs must be removed in %prep.

===== SHOULD items =====

[x]: Final provides and requires are sane.
[x]: Latest snapshot version is packaged (`4.3.1^20261030gitcd95e68-1`).
[x]: Package does not include license text files separate from upstream.
[x]: Patches are justified (`remove-check-for-updates.patch` disables runtime
     upstream update checks per Fedora policy).
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass (`558 passed, 1 skipped`).
[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.
[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]: Uses parallel make %{?_smp_mflags} macro.
[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.

Rpmlint
-------
Checking: dupeguru-4.3.1^20261030gitcd95e68-1.fc46.x86_64.rpm
          dupeguru-4.3.1^20261030gitcd95e68-1.fc46.src.rpm
dupeguru.x86_64: W: python-leftover-require python3-defusedxml (justified:
needed at runtime, missing from upstream metadata)
dupeguru.x86_64: W: python-leftover-require python3-pyqt6 (justified: needed at
runtime, missing from upstream metadata)
dupeguru.spec: W: patch-not-applied Patch0: remove-check-for-updates.patch
(false positive: applied by %forgeautosetup -p1)
dupeguru.x86_64: W: no-manual-page-for-binary dupeguru
dupeguru.spec:102-103: W: macro-in-comment (minor: escape % as %% in comments)
2 packages and 0 specfiles checked; 0 errors, 8 warnings, 0 badness.

Generated with fedora-review 0.12.0 against fedora-rawhide-x86_64.

--
Reviewed with Gemini (AI pair programmer collaborating with Rénich Bon Ćirić)


-- 
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=2497737

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202497737%23c47

-- 
_______________________________________________
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

Reply via email to