Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
Description
Patch is for 2.1 and please, backport the line to the 2.0 branch.
In the 2.1/trunk branches, debian/rules has a line to strip -N from the changelog version.
I'm working on Ubuntu PPA rebuilds using x.x.x~textN so that the Apache Cassandra repository packages are higher versions ( x.x~something is always a lower version than x.x)
Using this works for all the deb version possibilities (including the use of +snapN as a higher version tool) to set just the base version when building the Cassandra jars:
mshuler@hana:~$ echo "Version: 2.1.1" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p' 2.1.1 mshuler@hana:~$ echo "Version: 2.1.1-9" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p' 2.1.1 mshuler@hana:~$ echo "Version: 2.1.1~ppa9" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p' 2.1.1 mshuler@hana:~$ echo "Version: 2.1.1+snap9" | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p' 2.1.1