https://bugzilla.redhat.com/show_bug.cgi?id=2568992
Aashish Jha <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Aashish Jha <[email protected]> --- Practice review -- part of my packager sponsorship process, NOT an official review. I am not setting the fedora-review flag. I used an AI assistant while working on this review. Issues: - Source/license of the image and sound assets is undocumented. data/images/*.png (board and checker textures) and data/sounds/*.wav are installed under /usr/share/longbackgammon/ (longbackgammon-data), but neither the README nor any file in the repository states where they come from or under what license. Some sounds were converted with fre:ac and carry the metadata Artist "Sounds"; diceroll03.wav has the title "diceroll05", which suggests they may come from a larger third-party collection. data/images/marble_board.png contains C2PA content-credential metadata stating it was created by "ChatGPT" (gpt-image), digital source type "trainedAlgorithmicMedia", via the OpenAI Media Service API. Could you clarify the origin and license of these assets? If any come from a third party, please document the source and license, and add it to the License: field if it differs. For the AI-generated image, it would help to state its origin and license explicitly upstream as well. https://docs.fedoraproject.org/en-US/legal/license-field/ - Minor: /usr/share/dbus-1 and /usr/share/dbus-1/services are owned by dbus-common, which is not in the package's hard dependency chain. With --setopt=install_weak_deps=False the directories end up unowned; a default install pulls dbus-common in only as a weak dependency. The .desktop file is not DBusActivatable (the .service file only enables --gapplication-service activation), so per the guidelines the package should co-own them: %dir %{_datadir}/dbus-1 %dir %{_datadir}/dbus-1/services https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_ownership - Upstream ships a meson test suite (tests/: logic, session and UI tests, plus desktop/appstream/gschema validation in data/meson.build), but %check does not run it. The guidelines say a provided test suite should be executed in %check whenever practical, so please consider adding %meson_test (the UI test needs xvfb-run or is skipped; appstreamcli is optional). https://docs.fedoraproject.org/en-US/packaging-guidelines/#_test_suites - Nitpick: rpmlint warns macro-in-%changelog for "%check" in the 1.0.7-2 entry; write it as "%%check". Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed ===== MUST items ===== Generic: [!]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. Note: The declared license (GPL-3.0-or-later) is allowed; the image/sound asset licenses still need clarification (see Issues). [!]: License field in the package spec file matches the actual license. Note: Pending clarification of the image/sound asset licenses (see Issues). [x]: License file installed when any subpackage combination is installed. Note: COPYING is in %license of both longbackgammon and longbackgammon-data. [!]: Package must own all directories that it creates. Note: Directories without known owners: /usr/share/dbus-1/services, /usr/share/dbus-1 (should be co-owned, see Issues). [x]: %build honors applicable compiler flags or justifies otherwise. Note: Fedora optflags (-O2 -flto=auto, hardened specs) used via %meson. [x]: Package contains no bundled libraries or specifies bundled libraries with Provides: bundled(<libname>) if unbundling is not possible. [x]: Changelog in prescribed format. Note: Manual changelog in an accepted format; see the rpmlint nitpick about "%check" in Issues. [!]: Sources contain only permissible code or content. Note: Pending clarification of the image/sound asset licenses (see Issues). [-]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: The spec file handles locales properly. Note: %find_lang is used. [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. Note: Only a D-Bus session activation file; no systemd units needed. [x]: Useful -debuginfo package or justification otherwise. [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 10744 bytes in 2 files. [!]: Package complies to the Packaging Guidelines Note: See Issues. [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 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]: Package contains desktop file if it is a GUI application. [x]: Package installs a %{name}.desktop using desktop-file-install or desktop-file-validate if there is such a file. [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: [-]: 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]: Fully versioned dependency in subpackages if applicable. Note: The main package requires longbackgammon-data = %{version}-%{release}; the noarch data subpackage does not need a reverse dependency. [?]: Package functions as described. Note: Not run interactively (GUI); builds and installs in mock. [x]: Latest version is packaged. Note: 1.0.7.3 is the latest upstream release. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: Upstream does not publish signatures. [?]: Package should compile and build into binary rpms on all supported architectures. Note: Only x86_64 built locally. [!]: %check is present and all tests pass. Note: %check only validates the desktop/metainfo files; the upstream meson tests are not run (see Issues). [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]: Large data in /usr/share should live in a noarch subpackage if package is arched. Note: Game data moved to noarch longbackgammon-data; the remaining ~1 MB in the arched package is icons and translations. [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]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: longbackgammon-1.0.7.3-1.fc46.x86_64.rpm longbackgammon-data-1.0.7.3-1.fc46.noarch.rpm longbackgammon-1.0.7.3-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/tmpd6z8dcyt')] checks: 32, packages: 3 longbackgammon.x86_64: W: no-manual-page-for-binary longbackgammon longbackgammon-data.noarch: W: no-documentation longbackgammon.spec:79: W: macro-in-%changelog %check 3 packages and 0 specfiles checked; 0 errors, 3 warnings, 11 filtered, 0 badness; has taken 2.0 s Rpmlint (debuginfo) ------------------- Checking: longbackgammon-debuginfo-1.0.7.3-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/tmpc5uesp0k')] checks: 32, packages: 1 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 5 filtered, 0 badness; has taken 0.4 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: 3 longbackgammon.x86_64: W: no-manual-page-for-binary longbackgammon longbackgammon-data.noarch: W: no-documentation 3 packages and 0 specfiles checked; 0 errors, 2 warnings, 13 filtered, 0 badness; has taken 0.3 s Source checksums ---------------- https://github.com/ansribas/LongBackgammon/archive/v1.0.7.3/LongBackgammon-1.0.7.3.tar.gz : CHECKSUM(SHA256) this package : 2f87ff088e59bf8d515500323c74121f9bda57af76750a3d124aa3c3474a7254 CHECKSUM(SHA256) upstream package : 2f87ff088e59bf8d515500323c74121f9bda57af76750a3d124aa3c3474a7254 Requires -------- longbackgammon (rpmlib, GLIBC filtered): hicolor-icon-theme libadwaita-1.so.0()(64bit) libadwaita-1.so.0(LIBADWAITA_1_0)(64bit) libc.so.6()(64bit) libcairo.so.2()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgraphene-1.0.so.0()(64bit) libgtk-4.so.1()(64bit) libm.so.6()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) longbackgammon-data rtld(GNU_HASH) longbackgammon-data (rpmlib, GLIBC filtered): Provides -------- longbackgammon: application() application(io.github.ansribas.LongBackgammon.desktop) longbackgammon longbackgammon(x86-64) metainfo() metainfo(io.github.ansribas.LongBackgammon.metainfo.xml) longbackgammon-data: longbackgammon-data Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18 Command line :/usr/bin/fedora-review -b 2568992 Buildroot used: fedora-rawhide-x86_64 Active plugins: Shell-api, Generic Disabled plugins: Python, Java, C/C++, fonts, SugarActivity, R, Perl, PHP, Ocaml, Haskell Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT -- 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=2568992 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202568992%23c7 -- _______________________________________________ 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
