Conversation
Symlink LICENSE from the project root so it gets picked up when packaging ``` coreutils/tests/uutests on uutests-add-license $ cargo package --allow-dirty --list | grep LICENSE coreutils/tests/uutests on uutests-add-license $ ln -s ../../LICENSE . coreutils/tests/uutests on uutests-add-license $ cargo package --allow-dirty --list | grep LICENSE LICENSE ``` Signed-off-by: Michel Lind <salimma@fedoraproject.org>
|
GNU testsuite comparison: |
|
I s it able to remove all symlinks instead? |
|
@oech3 cargo handles symlinks just fine, I've been sending similar fixes to include license files for multiple projects that have a single git repo with multiple crates all with the same license as part of the Fedora Rust SIG. Happy to entertain other suggestions, but as you notice, src/uucore/LICENSE is also a symlink - this is a common pattern, it's just that it got missed with newer crates. |
|
Those symlinks break See also #9489 (comment)
|
Symlink LICENSE from the project root so it gets picked up when packaging