Skip to content

Commit aefdc6b

Browse files
committedFeb 27, 2024·
fix rpm spec
1 parent 6a672b3 commit aefdc6b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎kcli.spec

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# spec file for package kcli
2+
# spec file for kcli package
33
#
44
# Copyright (c) 2017 Karim Boumedhel
55
#
@@ -29,8 +29,7 @@ It easily deploy single vms from cloud images or several using plans or kubernet
2929

3030
%build
3131
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
32+
echo "$(git ls-remote https://github.com/karmab/kcli | head -1 | cut -c1-7) $(date +%Y/%m/%d)" > kvirt/version/git
3433
%{python3} setup.py build
3534

3635
%install
@@ -58,5 +57,4 @@ rm -rf %{buildroot}
5857
%attr(0755,root,root) %{_bindir}/ekstoken
5958
%attr(0755,root,root) %{_bindir}/gketoken
6059

61-
6260
%changelog

0 commit comments

Comments
 (0)
Please sign in to comment.