| |
@@ -76,7 +76,7 @@
|
| |
-- If the base package name ends with a digit, a single underscore (_) MUST
|
| |
-- be appended to the name, and the version MUST be appended to that, in
|
| |
-- order to avoid confusion over where the name ends and the version begins.
|
| |
- result = string.gsub(result, "([^-]*)(%-?)([%.%d]+)$", function(prior, hyphen, version)
|
| |
+ result = string.gsub(result, "([^-]*)(%-)([%.%d]+)$", function(prior, hyphen, version)
|
| |
if string.find(prior, "%d$") then
|
| |
return prior .. "_" .. version
|
| |
else
|
| |
filippo.io/edwards25519 should be golang-filippo-edwards25519, not
golang-filippo-edwards2551_9.
Fixes: https://pagure.io/GoSIG/go2rpm/issue/37
Relates: https://gitlab.com/fedora/sigs/go/go2rpm/-/commit/8b7ae828e5e4099069a7f1976e8d1c2a5ed9da3c