https://bugs.linuxfoundation.org/show_bug.cgi?id=1148

             Bug #: 1148
           Summary: File Dependencies field
           Product: SPDX
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Spec
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Mark Gisi proposed:

14. File Dependencies

1.Purpose: This field provides a place for the SPDX file creator to record a
list of other files which the file is a derivative of or depends on for the
build (e.g., source file or build script for a binary program or library). The
list of files may not necessarily represent the list of all file dependencies,
but other files that impact the licensing or may be needed for satisfying the
file’s license distribution obligations.  

2. Intent: Here, the intent is to provide the recipient of the SPDX file with
other file dependency information based on the build system that created the
file. These other files impact the licensing of the file and/or may be required
to satisfy the distribution obligation of the file (e.g., source files subject
to a copyleft license distribution requirement or build script). 

3. Cardinality: Optional, zero or more.

4. Data Format: A relative filename with the root of the package archive or
directory. See
http://tools.ietf.org/html/rfc1738 for syntax. 

5. Tag: “FileDependency:”

Example:
FileDependency: ./busybox-1.20.2/shell/match.h
FileDependency: ./busybox-1.20.2/shell/match.c
FileDependency: ./busybox-1.20.2/shell/ash.c
FileDependency: Linux:lib.c

6. RDF: property spdx: fileDependency in class spdx:File

Example:
<File rdf:about=”http://www.spdx.org/tools#SPDXANALYSIS?file”>
   <fileDependency>./busybox-1.20.2/shell/match.h</fileDependency>
   <fileDependency>./busybox-1.20.2/shell/match.c</fileDependency>
   <fileDependency>./busybox-1.20.2/shell/ash.c</fileDependency>
   <fileDependency>Linux:lib.c </fileDependency>
</File>

-- 
Configure bugmail: https://bugs.linuxfoundation.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to