Commit 098722dc authored by Guillaume Quintard's avatar Guillaume Quintard

[cci] fix package revision

parent acdc13eb
...@@ -38,8 +38,8 @@ if [ -e .is_weekly ]; then ...@@ -38,8 +38,8 @@ if [ -e .is_weekly ]; then
else else
WEEKLY= WEEKLY=
fi fi
VERSION=$(./configure --version | awk 'NR == 1 {print $NF}')$WEEKLY~$PARAM_RELEASE VERSION=$(./configure --version | awk 'NR == 1 {print $NF}')$WEEKLY-1~$PARAM_RELEASE
sed -i -e "s|@VERSION@|$VERSION-1|" "debian/changelog" sed -i -e "s|@VERSION@|$VERSION|" "debian/changelog"
echo "Install Build-Depends packages..." echo "Install Build-Depends packages..."
yes | mk-build-deps --install debian/control || true yes | mk-build-deps --install debian/control || true
......
...@@ -60,7 +60,7 @@ rpmbuild() { ...@@ -60,7 +60,7 @@ rpmbuild() {
--define "_srcrpmdir $CUR_DIR/${RESULT_DIR}" \ --define "_srcrpmdir $CUR_DIR/${RESULT_DIR}" \
--define "_rpmdir $CUR_DIR/${RESULT_DIR}" \ --define "_rpmdir $CUR_DIR/${RESULT_DIR}" \
--define "versiontag ${RPMVERSION}" \ --define "versiontag ${RPMVERSION}" \
--define "releasetag 0.0" \ --define "releasetag 1" \
--define "srcname $DIST_DIR" \ --define "srcname $DIST_DIR" \
--define "nocheck 1" \ --define "nocheck 1" \
"$@" "$@"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment