diff options
author | Slavi Pantaleev <s.pantaleev@gmail.com> | 2011-06-24 18:38:40 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-06-25 11:29:56 +0200 |
commit | 2131d3cb8b8b12c28efdebe1d288274d84663076 (patch) | |
tree | 8e395508caeaf9eefee8dca6cecec1e36455a13a /web/lib/aur.inc.php | |
parent | b60a30af7144d92dd6ee0fbcb16929d95d09d676 (diff) | |
download | aur-2131d3cb8b8b12c28efdebe1d288274d84663076.tar.gz aur-2131d3cb8b8b12c28efdebe1d288274d84663076.tar.xz |
Honor epoch field in PKGBUILD files.
The epoch field in PKGBUILD files was completely ignored until now,
and the final Version field for a package consisted only of
pkgver and pkgrel (example: 5.0-1)
This means that rpc.php reported the version incorrectly for packages
having epoch > 0.
One case where this was a problem is that it confused AUR helpers
wanting to examine all locally installed packages (with epoch > 0)
and search the AUR for an updated version.
The epoch field is taken into consideration now, and if not 0,
will be prepended to the final Version field (example: 1:5.0-1)
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/aur.inc.php')
0 files changed, 0 insertions, 0 deletions