Module: kamailio Branch: master Commit: ea8dec941897f23a0c04d045edfed80a41e042cf URL: https://github.com/kamailio/kamailio/commit/ea8dec941897f23a0c04d045edfed80a...
Author: Sergey Safarov s.safarov@gmail.com Committer: Sergey Safarov s.safarov@gmail.com Date: 2020-06-22T19:49:00+03:00
pkg/kamailio: fixed -pre release RPM packaging
---
Modified: pkg/kamailio/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/ea8dec941897f23a0c04d045edfed80a... Patch: https://github.com/kamailio/kamailio/commit/ea8dec941897f23a0c04d045edfed80a...
---
diff --git a/pkg/kamailio/Makefile b/pkg/kamailio/Makefile index d6ce6672f4..e30e546c29 100644 --- a/pkg/kamailio/Makefile +++ b/pkg/kamailio/Makefile @@ -7,7 +7,7 @@ $(error Please start "make cfg" first) endif
RPMBUILD_TOP := /tmp/kamailio_rpmbuild -RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" -e "s/-rc[0-9]//"} +RPM_VER = ${shell echo "$(RELEASE)" | sed -e "s/-dev[0-9]//" -e "s/-rc[0-9]//" -e "s/-pre[0-9]//"} RPM_REL = ${shell echo "$(RELEASE)." | grep -o -P "dev[0-9]." } DIST_ARCHIVE = ${shell echo "kamailio-$(RPM_VER)_src.tar.gz"} APK_VERSION = ${shell echo "$(RELEASE)" | grep -o "^[0-9.]*"}