Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Mike Hommey
Wed, 25 Nov 2026 04:40
Bug#1155194: debcargo: GPL-2.0-only SPDX identifier is not recognized.
Author: Mike Hommey
Date: Wed, 25 Nov 2026 04:40
Date: Wed, 25 Nov 2026 04:40
30 lines
2636 bytes
2636 bytes
Package: debcargo
Version: 2.8.4-6
Severity: normal
Dear Maintainer,
The GPL-2.0 identifier is deprecated in favor of GPL-2.0-only[1], but the
latter is not recognized by debcargo, which outputs this in
copyright.debcargo.hint:
License: GPL-2.0-only
FIXME (overlay): Unrecognized crate license, please find the full license text in the rest of the crate source code and copy-paste it here
1. https://spdx.org/licenses/GPL-2.0-only.html
The following patch should be enough to make it recognized:
```
--- a/src/debian/copyright.rs
+++ b/src/debian/copyright.rs
@@ -268,6 +268,7 @@ fn get_licenses(license: &str) -> Result<Vec<License>> {
("bsd-3-clause", include_str!("licenses/BSD-3-Clause")),
("cc0-1.0", include_str!("licenses/CC0-1.0")),
("gpl-2.0", include_str!("licenses/GPL-2.0")),
+ ("gpl-2.0-only", include_str!("licenses/GPL-2.0")),
("gpl-3.0", include_str!("licenses/GPL-3.0")),
("isc", include_str!("licenses/ISC")),
("lgpl-2.0", include_str!("licenses/LGPL-2.0")),
```
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads