From c86f56c24f40e3123465ae651d975b94081e0e9d4e89208a8ca4a491aca6efbb Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 6 Apr 2020 08:28:03 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=476 --- ncurses.spec | 2 +- pre_checkin.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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=-