pacman/scripts
Eli Schwartz 2c94118dc1 libmakepkg/lint_pkgbuild: fix regression in linting depends=(foo=$epoch:$pkgver-$pkgrel)
In commit 91b72cc386 support was added for
linting depends/etc. to ensure they contain only valid dependency
specifiers. However it did not properly take into account the
possibility of dependencies linked to a specific pkgrel or epoch, which
promptly failed to build because "-" and ":" is not allowed in a pkgver.

pkgrel is something supported by pacman and useful for e.g. split packages
which cannot be mismatched even if the pkgver is the same. Fix by
removing an optional suffixed "-$decimal" when checking for a valid
pkgver.

epoch is kind of difficult to do without :D so likewise fix by removing
an optional prefixed "$integer:"

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-05-12 21:10:44 +10:00
..
completion use pacman-conf in bash completion 2018-01-19 12:04:45 +10:00
libmakepkg libmakepkg/lint_pkgbuild: fix regression in linting depends=(foo=$epoch:$pkgver-$pkgrel) 2018-05-12 21:10:44 +10:00
library makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
po Initial translation preparation for pacman-5.1 2018-04-29 23:56:07 +10:00
.gitignore makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
Makefile.am libmakepkg/lint_pkgbuild: lint depends/etc. as if they are pkgname 2018-04-29 21:49:05 +10:00
makepkg-template.pl.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
makepkg.sh.in remove unneeded break argument from option parsing 2018-05-12 21:09:37 +10:00
pacman-db-upgrade.sh.in remove unneeded break argument from option parsing 2018-05-12 21:09:37 +10:00
pacman-key.sh.in remove unneeded break argument from option parsing 2018-05-12 21:09:37 +10:00
pkgdelta.sh.in remove unneeded break argument from option parsing 2018-05-12 21:09:37 +10:00
repo-add.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
wrapper.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00