From: Arkadiusz Miƛkiewicz Date: Sat, 26 Dec 2015 08:28:19 +0000 (+0100) Subject: - no 0 prefix for first digit X-Git-Tag: auto/th/asterisk-chan_dongle-1.1-0.20150612.3~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=475116a283051adff4eee54f8a7f77203a661e3f;p=packages%2Fasterisk-chan_dongle.git - no 0 prefix for first digit --- diff --git a/asterisk-chan_dongle.spec b/asterisk-chan_dongle.spec index 85eaa8c..19c1539 100644 --- a/asterisk-chan_dongle.spec +++ b/asterisk-chan_dongle.spec @@ -44,7 +44,7 @@ install /usr/share/automake/{config.*,install-sh,missing} . %{__aclocal} %{__autoconf} %configure \ - --with-astversion=$(rpm -q --queryformat "%{VERSION}\n" asterisk-devel | awk -F. ' { printf("%02d%02d%02d", $1, $2, $3); } ') + --with-astversion=$(rpm -q --queryformat "%{VERSION}\n" asterisk-devel | awk -F. ' { printf("%d%02d%02d", $1, $2, $3); } ') %{__make} %install