[arch-haskell] RFQ: Proposal for new versioning of packages
Fabien Dubosson
fabien.dubosson at gmail.com
Thu Apr 30 06:25:17 UTC 2015
> The issue I'm worried about is that of trailing zeroes. Is 2.1_1 < 2.1.1_0?
Seems so:
===========================
$ mkdir TEMP; cd TEMP
$ cat << EOL > PKGBUILD
pkgname=dummy
pkgver=2.1.1_0
pkgrel=1
pkgdesc="dummy package"
arch=(any)
url="http://"
license=('GPL')
source=()
md5sums=()
package() {
msg "Dummy package"
}
EOL
$ makepkg -fsic
$ sed -i 's#2\.1\.1_0#2.1_1#' PKGBUILD
$ makepkg -fsic
===========================
pacman shows:
warning: downgrading package dummy (2.1.1_0-1 => 2.1_1-1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/arch-haskell/attachments/20150430/1b0e8410/attachment-0001.sig>
More information about the arch-haskell
mailing list