I've added a selftest that verifies that rpm, dpkg, and opkg all do the right thing with ~ in version comparisons, and a recipe that uses ~ builds correctly:
$ find . -name test-version[-_]1* ./deb/corei7-64/test-version_1.0~beta-r0_amd64.deb ./ipk/corei7-64/test-version_1.0~beta-r0_corei7-64.ipk ./rpm/corei7_64/test-version-1.0~beta-r0.corei7_64.rpm
I've added a selftest that verifies that rpm, dpkg, and opkg all do the right thing with ~ in version comparisons, and a recipe that uses ~ builds correctly:
$ find . -name test-version[-_]1* 64/test- version_ 1.0~beta- r0_amd64. deb 64/test- version_ 1.0~beta- r0_corei7- 64.ipk 64/test- version- 1.0~beta- r0.corei7_ 64.rpm
./deb/corei7-
./ipk/corei7-
./rpm/corei7_