diff --git a/ncurses.spec b/ncurses.spec index a4863c7..1d1c3fa 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -31,7 +31,7 @@ %global soname_tinfo tinfow %endif -%define patchlvl 20200321 +%define patchlvl 20200404 %define basevers 6.2 Name: ncurses diff --git a/pre_checkin.sh b/pre_checkin.sh index 3a6d506..5dc92e3 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -1,5 +1,5 @@ #!/bin/bash -version=$(sed -rn '/^Version:[[:space:]]+/{s/^Version:[[:space:]]+([0-9]+\.[0-9]+)(\.[0-9+])?/\1/p}' ncurses.spec) || exit 1 +version=$(sed -rn '/^Version:[[:space:]]+/{s/^Version:[[:space:]]+([0-9]+\.[0-9]+)(\.[^\.]+)?/\1/p}' ncurses.spec) || exit 1 test -e ncurses-${version}-patches.tar.bz2 || exit 1 OFS="$IFS" IFS=-