]> git.pld-linux.org Git - packages/youtube-dl.git/commitdiff
preserve leading zeroes auto/th/youtube-dl-20150417-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 22 Apr 2015 12:46:09 +0000 (15:46 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 22 Apr 2015 12:46:09 +0000 (15:46 +0300)
youtube-dl.spec

index cd399c92ebaa987af066eb352130b91517805db7..dbd5babef9dd8236bc1982f15c621478a97f72d8 100644 (file)
@@ -6,7 +6,7 @@
 # 2013.01.28   becomes 20130128
 # $ rpmvercmp 20130117_1 20130128
 # 20130117_1 < 20130128
-%define        ver     %(echo %{verlong} | awk -F. 'NF == 3 {printf("%d%d%d", $1, $2, $3)} NF == 4 {printf("%d%d%d_%d", $1, $2, $3, $4)}')
+%define        ver     %(echo %{verlong} | awk -F. 'NF == 3 {printf("%s%s%s", $1, $2, $3)} NF == 4 {printf("%s%s%s_%s", $1, $2, $3, $4)}')
 Summary:       Video extraction utility for YouTube
 Summary(pl.UTF-8):     Narzędzie do wydobywania filmów z YouTube
 Name:          youtube-dl
This page took 0.045779 seconds and 4 git commands to generate.