We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a672b3 commit aefdc6bCopy full SHA for aefdc6b
kcli.spec
@@ -1,5 +1,5 @@
1
#
2
-# spec file for package kcli
+# spec file for kcli package
3
4
# Copyright (c) 2017 Karim Boumedhel
5
@@ -29,8 +29,7 @@ It easily deploy single vms from cloud images or several using plans or kubernet
29
30
%build
31
sed -i "s/, 'libvirt.*/\]/" setup.py
32
-GIT_VERSION="$(git ls-remote https://github.com/karmab/kcli | head -1 | cut -c1-7) $(date +%Y/%m/%d)"
33
-echo $GIT_VERSION > kvirt/version/git
+echo "$(git ls-remote https://github.com/karmab/kcli | head -1 | cut -c1-7) $(date +%Y/%m/%d)" > kvirt/version/git
34
%{python3} setup.py build
35
36
%install
@@ -58,5 +57,4 @@ rm -rf %{buildroot}
58
57
%attr(0755,root,root) %{_bindir}/ekstoken
59
%attr(0755,root,root) %{_bindir}/gketoken
60
61
-
62
%changelog
0 commit comments