We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 329aa3a + 4f0286b commit df16f3dCopy full SHA for df16f3d
1 file changed
packaging/debian/rules
@@ -12,7 +12,8 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
12
endif
13
14
export SOVER ?= $(shell dpkg-parsechangelog \
15
- | sed -rne 's/^Version: ([0-9.]+)[-+~].*$$/\1/p')
+ | sed -rne 's/^Version: ([0-9.]+)([-+~][[:alpha:]][[:alnum:]]*)?([-+~][[:digit:]])?$$/\1\2/p' \
16
+ | sed 's/[+~]/-/')
17
export SONAME=libcassandra.so.$(SOVER)
18
19
%:
0 commit comments