Dear Rust packagers,
I am recently working on a desktop application
(
https://github.com/zhangyuannie/butter) for Btrfs snapshot management
using Rust, GTK4 and libadwaita.
However, while trying to package my app on Copr, I noticed that
rust-
libadwaita has not been packaged yet.
I decided to try to package them myself, the results are:
https://copr.fedorainfracloud.org/coprs/zhangyuannie/rust-libadwaita-sys/
https://copr.fedorainfracloud.org/coprs/zhangyuannie/rust-libadwaita/
And I have opened a review for rust-libadwaita-sys:
https://bugzilla.redhat.com/show_bug.cgi?id=2066040
I have a few questions regarding their packaging:
1. Upstream did not include the LICENSE file inside the .crate tarball,
but has it in the root directory of the repository.
I have already sent a MR upstream to fix this issue:
https://gitlab.gnome.org/World/Rust/libadwaita-rs/merge_requests/36
In the mean time, I fetched the license file from the tagged branch
of upstream, and cp-ed it into the build directory during %prep.
Is this the correct, idiomatic way of doing this?