]> source.dussan.org Git - gitea.git/commit
Fix version in rpm repodata/primary.xml.gz (#26009)
authorPeter Verraedt <peter.verraedt@gmail.com>
Fri, 21 Jul 2023 19:41:38 +0000 (21:41 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Jul 2023 19:41:38 +0000 (19:41 +0000)
commit48cd82b759bbd1f60bd7a39026fb80159813448d
tree86b59a0c8542e0e2d756b4e32caae61d5fc7bc22
parent52fb9367734100847249d074e2bc17f2aa91053e
Fix version in rpm repodata/primary.xml.gz (#26009)

The version listed in rpm repodata should only contain the rpm version
(1.0.0) and not the combination of version and release (1.0.0-2). We
correct this behaviour in primary.xml.gz, filelists.xml.gz and
others.xml.gz.

Signed-off-by: Peter Verraedt <peter@verraedt.be>
services/packages/rpm/repository.go
tests/integration/api_packages_rpm_test.go