Delete invocation of git commands from generate.sh. Metadata updated.

devel
Alexey Lyubimov 2 years ago
parent d6fd9c7155
commit e7d8977b7d

@ -1 +1 @@
0fb6c583ecb9d6aff73534f8c025eef2cec2a830 SOURCES/addon-context-linux-6.6.0.tar.gz
78b762c1895faa659a4f25a903778ce4a5c3d086 SOURCES/addon-context-linux-6.6.0.tar.gz

@ -1,7 +1,21 @@
diff --git a/generate.sh b/generate.sh
index c9e3b82..1ada8e4 100755
index c9e3b82..413aec2 100755
--- a/generate.sh
+++ b/generate.sh
@@ -30,11 +30,11 @@ set +e
###
if [ -z "${RELEASE}" ]; then
- if git describe --contains "$(git rev-parse HEAD)" &>/dev/null; then
+ if true; then
RELEASE=1
else
DATE=${DATE:-$(date +%Y%m%d)}
- GIT=$(git rev-parse --short HEAD)
+ GIT=
RELEASE="0.${DATE}git${GIT}"
fi
fi
@@ -85,7 +85,6 @@ fi
set -e

@ -16,7 +16,7 @@ URL: http://opennebula.org
Packager: MSVSphere <packager@msvsphere.ru>
Source: https://github.com/OpenNebula/%{name}/archive/refs/tags/addon-context-linux-%{version}.tar.gz
Patch1: addon-context-linux-msvsphere.patch
Patch2: addon-context-linux-srpmbuild.patch
Patch2: addon-context-linux-generate.patch
Requires: util-linux
Requires: bash

Loading…
Cancel
Save