Bug 2568992
| Summary: | Review Request: longbackgammon - Classic Long Backgammon Board Game | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Aleksey <ans.ribas> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | aashishjha, fedora, package-review |
| Target Milestone: | --- | ||
| 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
Aleksey
2026-11-09 08:35:18 UTC
> %files > %{_datadir}/metainfo/io.github.ansribas.LongBackgammon.metainfo.xml AppStream metainfo should be verified using appstream-util. https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage Thank you for the review! I have added `libappstream-glib` to `BuildRequires` and included `appstream-util validate-relax --nonet` in the `%check` section. Updated files: Spec URL: https://raw.githubusercontent.com/ansribas/LongBackgammon/main/longbackgammon.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/ansvet/longbackgammon/srpm-builds/11300967/longbackgammon-1.0.7-2.fc45.src.rpm Updated the package to the new release 1.0.7.2 and addressed reviewer feedback. Spec URL: https://raw.githubusercontent.com/ansribas/LongBackgammon/main/longbackgammon.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/ansvet/longbackgammon/srpm-builds/11325955/longbackgammon-1.0.7.2-1.src.rpm Key changes: - Updated upstream release to 1.0.7.2 (turn-by-turn autosave, match recovery, renderer options) - Updated Libadwaita dependency requirement: pkgconfig(libadwaita-1) >= 1.5 - Migrated shortcuts dialog to AdwDialog to ensure compatibility across older Libadwaita runtimes - Validated AppStream metainfo and desktop integration checks Game data in /usr/share/longbackgammon is over 10 MiB in size. Please move it to a noarch subpackage. I have split the game assets into a separate noarch `longbackgammon-data` subpackage and added `Requires: %{name}-data = %{version}-%{release}` to the main package.
Updated files:
Spec URL: https://raw.githubusercontent.com/ansribas/LongBackgammon/main/longbackgammon.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/ansvet/longbackgammon/srpm-builds/11330702/longbackgammon-1.0.7.2-2.fc45.src.rpm
Updated the package to the new release 1.0.7.3. Spec URL: https://raw.githubusercontent.com/ansribas/LongBackgammon/main/longbackgammon.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/ansvet/longbackgammon/srpm-builds/11342747/longbackgammon-1.0.7.3-1.src.rpm Copr Build: https://copr.fedorainfracloud.org/coprs/ansvet/longbackgammon/build/11342747/ Key changes: - Updated upstream release to 1.0.7.3 - Redesigned player statistics window with modular cells and star rating indicators - Compact sidebar player list styled with native GNOME accent color - Widened statistics dialog to 640px with adaptive player name truncation - Updated translations across all supported languages 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 Thank you for the detailed review! I have addressed all the points raised in the new upstream release 1.0.7.4:
1. Multimedia Assets Origin & Licensing:
- Documented the provenance and licensing of all audio and graphic assets in data/README.md, as well as in the main README.md.
- Audio: All sound effects were generated using ElevenLabs AI Sound Effects (elevenlabs.io) and post-processed by the author. They are dedicated to the public domain under CC0-1.0. The leftover fre:ac/artist metadata tags from editing have been cleaned up.
- Graphics: Board themes and checker textures were generated using OpenAI ChatGPT / DALL-E (provenance recorded via C2PA) and processed by the author. They are dedicated to the public domain under CC0-1.0 (unprotected by copyright as per US Copyright Office / Fedora AI policy).
- Updated the License tag in the spec to "GPL-3.0-or-later AND CC0-1.0", and "CC0-1.0" for the noarch data subpackage.
2. D-Bus Directories Ownership:
- Added "%dir %{_datadir}/dbus-1" and "%dir %{_datadir}/dbus-1/services" to %files to properly co-own those directories.
3. Test Suite in %check:
- Added %meson_test to %check to run upstream unit and session test suites.
4. Rpmlint Warning:
- Escaped %check as %%check in %changelog and added documentation to the data subpackage.
Spec URL: https://raw.githubusercontent.com/ansribas/LongBackgammon/main/longbackgammon.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/ansvet/longbackgammon/srpm-builds/11350510/longbackgammon-1.0.7.4-1.src.rpm
Practice review (follow-up for 1.0.7.4) -- 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.
Thanks for the quick turnaround. I re-ran fedora-review on 1.0.7.4-1
(mock, fedora-rawhide-x86_64). The package builds and installs, and
%meson_test passes (4/4: desktop/schema validation, logic-test,
session-test).
Remaining issues:
1. License: tag of longbackgammon-data
The data subpackage is tagged CC0-1.0, but it also installs
/usr/share/longbackgammon/translations/*.json (14 files of UI strings).
data/README.md only covers the sounds and images, and the JSON files
carry no license of their own, so they fall under the project's
GPL-3.0-or-later. Please use:
License: CC0-1.0 AND GPL-3.0-or-later
for the data subpackage (or document the translations as CC0-1.0
upstream). The main package's "GPL-3.0-or-later AND CC0-1.0" is fine,
since the metainfo file is CC0-1.0.
https://docs.fedoraproject.org/en-US/legal/license-field/
2. ElevenLabs sound effects
The ElevenLabs Terms of Use say that free-plan users "may only use the
Services for non-commercial purposes"; only paid-plan output may be
used commercially. Fedora requires game audio to be freely
distributable without restriction, so the CC0-1.0 dedication only
works if the sounds were generated on a paid plan. Could you confirm
which plan was used, and mention it in data/README.md?
https://elevenlabs.io/terms-of-use
https://docs.fedoraproject.org/en-US/packaging-guidelines/what-can-be-packaged/
3. Reference to "Fedora Project AI Guidelines" in data/README.md
data/README.md says AI-generated media is not copyrightable "in
accordance with ... Fedora Project AI Guidelines". Fedora's
AI-Assisted Contributions Policy does not say that; it covers
contributor accountability and disclosure. Please drop the Fedora part
of that reference (I'm not questioning the US Copyright Office part).
The CC0-1.0 dedication itself is fine, and it also covers your own
post-processing.
4. Application icon (I missed this in my previous comment, sorry)
data/icons/hicolor/*/apps/io.github.ansribas.LongBackgammon.png is not
covered by data/README.md. Please document its origin and license too.
5. Nitpick: the new changelog entry reintroduces the rpmlint warning
longbackgammon.spec:78: W: macro-in-%changelog %meson_test
"Execute %meson_test in %%check" should be
"Execute %%meson_test in %%check".
Updated checklist items (everything else is unchanged from my previous
comment):
[x]: Package must own all directories that it creates.
[x]: %check is present and all tests pass.
[!]: License field in the package spec file matches the actual license.
Note: See issue 1.
[!]: Package is licensed with an open-source compatible license and meets
other legal requirements.
Note: See issue 2.
[!]: Sources contain only permissible code or content.
Note: See issues 2 and 4.
Rpmlint
-------
longbackgammon.x86_64: W: no-manual-page-for-binary longbackgammon
longbackgammon.spec:78: W: macro-in-%changelog %meson_test
0 errors, 2 warnings
Thank you for the follow-up review! I have addressed all remaining points in the new upstream release 1.0.7.5: 1. License tag of longbackgammon-data: - Updated the data subpackage License tag to "CC0-1.0 AND GPL-3.0-or-later" to reflect both the CC0 multimedia assets and the GPL-3.0+ UI translation files. 2. ElevenLabs Sound Effects: - Confirmed that the sounds were generated under a paid commercial ElevenLabs subscription plan granting full commercial usage rights and intellectual property ownership, which allows dedicating them to the public domain under CC0-1.0. This is now explicitly stated in data/README.md. 3. Reference to Fedora Project AI Guidelines: - Dropped the Fedora reference in data/README.md, retaining only the reference to US Copyright Office policy alongside the CC0-1.0 dedication. 4. Application Icon: - Documented the origin of the desktop icon (OpenAI ChatGPT / DALL-E, adapted and formatted across hicolor resolutions by the author) under CC0-1.0 in data/README.md. 5. Spec Changelog & Rpmlint: - Fixed the %%meson_test macro escaping in %changelog. Spec URL: https://raw.githubusercontent.com/ansribas/LongBackgammon/main/longbackgammon.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/ansvet/longbackgammon/srpm-builds/11358805/longbackgammon-1.0.7.5-1.src.rpm |