Hi Oliver,
In SPDX, you can use the SPDX Package to represent a subdirectory of files within a larger package. In your scenario, one approach would be to create an SPDX package - if it doesn't have a logical name, you could call it something like "C licensed files" with a declared license of C. Then use the "contains" relationship from the parent package to the subdirectory. Let me know if you need more context / description. Best, Gary From: Spdx-tech@lists.spdx.org <Spdx-tech@lists.spdx.org> On Behalf Of Oliver Fendt via lists.spdx.org Sent: Thursday, May 2, 2024 12:48 AM To: spdx-tech@lists.spdx.org Subject: [spdx-tech] easy and simple way to express licenses in subdirectories Dear Folks, I have a simple question and I am wondering whether you can help me. Sometimes you find in a package (lets assume the declared license is A) in some subdirectory (lets assume SUB-DIR-X) a README file with the following wording: "the files in this directory are licensed under license C", but none of the files in this directory contain any license information and do not contain any reference to the README file in this directory. Is there an easy and simple way to express this in spdx 2.3 and in spdx 3.0 (but 2.3 is currently more important) Thank you very much Ciao Oliver -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5623): https://lists.spdx.org/g/Spdx-tech/message/5623 Mute This Topic: https://lists.spdx.org/mt/105858877/21656 Group Owner: spdx-tech+ow...@lists.spdx.org Unsubscribe: https://lists.spdx.org/g/Spdx-tech/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-