Bug 2525156 - Review Request: hnefatafl-copenhagen - AKA Viking Chess
Summary: Review Request: hnefatafl-copenhagen - AKA Viking Chess
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-27 19:00 UTC by David Campbell
Modified: 2026-10-19 20:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Campbell 2026-08-27 19:00:58 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/dcampbell24/hnefatafl-copenhagen/fedora-rawhide-x86_64/10895981-hnefatafl-copenhagen/hnefatafl-copenhagen.spec

Description: Copenhagen Hnefatafl client, engine, server and artificial intelligence

Fedora Account System Username: dcampbell24

Comment 1 Fedora Review Service 2026-08-27 19:01:26 UTC
Cannot find any valid SRPM URL for this ticket. Common causes are:

- You didn't specify `SRPM URL: ...` in the ticket description
  or any of your comments
- The URL schema isn't HTTP or HTTPS
- The SRPM package linked in your URL doesn't match the package name specified
  in the ticket summary


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 David Campbell 2026-08-27 20:08:53 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/dcampbell24/hnefatafl-copenhagen/fedora-rawhide-x86_64/10895981-hnefatafl-copenhagen/hnefatafl-copenhagen.spec
SRPM URL: https://codeberg.org/dcampbell/hnefatafl/src/branch/main/packages/fedora/hnefatafl-copenhagen-6.3.0-1.fc44.src.rpm
Description: Copenhagen Hnefatafl client, engine, server and artificial intelligence
Fedora Account System Username: dcampbell24

Comment 3 Fedora Review Service 2026-08-27 20:09:47 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10912293
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2525156-hnefatafl-copenhagen/srpm-builds/10912293/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 4 Artur Frenszek-Iwicki 2026-10-19 16:12:03 UTC
> RUST_MIN_STACK=2147483648 cargo build --release
This won't work, as Cargo will try to download the dependencies from the internet,
and Fedora package builders run with internet access disabled.
Check the Rust Packaging Guidelines for information on how to package Rust applications.
https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/

> install -Dm644 "packages/hnefatafl.service" -t "%{buildroot}/usr/lib/systemd/system"
> [...]
> install -Dm644 "taflzero.1.gz" -t "%{buildroot}/usr/share/man/man1"
> [...]
> install -Dm644 "packages/hnefatafl-client.desktop" -t "%{buildroot}/usr/share/applications"
Don't use hard-coded paths.
* /usr/lib/systemd/system -> %{_unitdir}
* /usr/share/man -> %{_mandir}
* /usr/share -> %{_datadir}
https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/#macros_installation

> %files
> [...]
> /usr/share/applications/hnefatafl-client.desktop
The file should be validated (at end of %install or in %check).
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_desktop_file_install_usage

> %files
> [...]
> %{_metainfodir}/org.hnefatafl.hnefatafl_client.metainfo.xml
The file should be validated (at end of %install or in %check).
https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage

> gzip --no-name --best taflzero.1
> gzip --no-name --best hnefatafl-server.1
> gzip --no-name --best hnefatafl-text-protocol.1
> gzip --no-name --best hnefatafl-client.1
> [...]
> /usr/share/man/man1/hnefatafl-client.1.gz
> /usr/share/man/man1/hnefatafl-server.1.gz
> /usr/share/man/man1/hnefatafl-text-protocol.1.gz
> /usr/share/man/man1/taflzero.1.gz
Don't. RPM will auto-compress man pages.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages

Comment 5 David Campbell 2026-10-19 20:36:39 UTC
I think I fixed all the issue's except for proper Rust packaging. As iced is not packaged for fedora and it would not be simple to package it along with the other missing fedora dependencies I am going to keep this as a COPR package until iced stabilizes and is packaged.


Note You need to log in before you can comment on or make changes to this bug.