diff --git a/shfmt/shfmt.spec b/shfmt/shfmt.spec index 1b54db5b6d..5168ffd783 100644 --- a/shfmt/shfmt.spec +++ b/shfmt/shfmt.spec @@ -23,7 +23,7 @@ # package version %define V_opkg 2.6.3 -%define V_dist 20190120 +%define V_dist 20190126 # package information Name: shfmt @@ -36,7 +36,7 @@ Class: EVAL Group: Shell License: MIT Version: %{V_opkg}.%{V_dist} -Release: 20190120 +Release: 20190126 # list of sources Source0: http://download.openpkg.org/components/versioned/shfmt/shfmt-%{V_dist}.tar.xz @@ -53,7 +53,7 @@ PreReq: OpenPKG, openpkg >= 20160101 prog shfmt:release = { version = %{V_opkg} url = https://github.com/mvdan/sh/releases - regex = v(__VER__)\.tar\.gz + regex = v(\d+\.\d+\.\d+)\.tar\.gz } prog shfmt:snapshot = { version = %{V_dist}