Skip to content

Commit df16f3d

Browse files
author
Michael Fero
committed
Merge remote-tracking branch 'dse/master' into 2.14.0_alpha_prep
2 parents 329aa3a + 4f0286b commit df16f3d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packaging/debian/rules

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
1212
endif
1313

1414
export SOVER ?= $(shell dpkg-parsechangelog \
15-
| sed -rne 's/^Version: ([0-9.]+)[-+~].*$$/\1/p')
15+
| sed -rne 's/^Version: ([0-9.]+)([-+~][[:alpha:]][[:alnum:]]*)?([-+~][[:digit:]])?$$/\1\2/p' \
16+
| sed 's/[+~]/-/')
1617
export SONAME=libcassandra.so.$(SOVER)
1718

1819
%:

0 commit comments

Comments
 (0)