[sr-dev] git:master:ea8dec94: pkg/kamailio: fixed -pre release RPM packaging
Sergey Safarov
s.safarov at gmail.com
Mon Jun 22 18:49:22 CEST 2020
Module: kamailio
Branch: master
Commit: ea8dec941897f23a0c04d045edfed80a41e042cf
URL: https://github.com/kamailio/kamailio/commit/ea8dec941897f23a0c04d045edfed80a41e042cf
Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Sergey Safarov <s.safarov at 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/ea8dec941897f23a0c04d045edfed80a41e042cf.diff
Patch: https://github.com/kamailio/kamailio/commit/ea8dec941897f23a0c04d045edfed80a41e042cf.patch
---
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.]*"}
More information about the sr-dev
mailing list