[packages/asterisk-chan_dongle] - no 0 prefix for first digit

arekm arekm at pld-linux.org
Sat Dec 26 09:28:24 CET 2015


commit 475116a283051adff4eee54f8a7f77203a661e3f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Dec 26 09:28:19 2015 +0100

    - no 0 prefix for first digit

 asterisk-chan_dongle.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/asterisk-chan_dongle.git/commitdiff/475116a283051adff4eee54f8a7f77203a661e3f



More information about the pld-cvs-commit mailing list