Skip to content

Commit 4ca24d9

Browse files
feat(rpm): capture license (fanal#218)
Co-authored-by: Teppei Fukuda <[email protected]>
1 parent e73d250 commit 4ca24d9

File tree

3 files changed

+502
-497
lines changed

3 files changed

+502
-497
lines changed

analyzer/pkg/rpm/rpm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ func (a rpmPkgAnalyzer) parsePkgInfo(packageBytes []byte) (pkgs []types.Package,
9595
SrcVersion: srcVer,
9696
SrcRelease: srcRel,
9797
Modularitylabel: pkg.Modularitylabel,
98+
License: pkg.License,
9899
}
99100
pkgs = append(pkgs, p)
100101
}

0 commit comments

Comments
 (0)