-
-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3520 from OmkarPh/fix/rpm-epoch-error
Fixed epoch parser failing for numeric values
- Loading branch information
Showing
4 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+8.75 KB
tests/packagedcode/data/rpm/header/apache-commons-io-2.4-12.el7.noarch.rpm
Binary file not shown.
19 changes: 19 additions & 0 deletions
19
tests/packagedcode/data/rpm/header/apache-commons-io-2.4-12.el7.noarch.rpm-expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "apache-commons-io", | ||
"epoch": "1", | ||
"version": "2.4", | ||
"release": "12.el7", | ||
"arch": "noarch", | ||
"os": "linux", | ||
"summary": "Utilities to assist with developing IO functionality", | ||
"description": null, | ||
"distribution": null, | ||
"vendor": "CentOS", | ||
"license": "ASL 2.0", | ||
"packager": "CentOS BuildSystem <http://bugs.centos.org>", | ||
"group": "Unspecified", | ||
"url": "http://commons.apache.org/io", | ||
"source_rpm": "apache-commons-io-2.4-12.el7.src.rpm", | ||
"dist_url": null, | ||
"is_binary": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters