libksba/libksba-nobetasuffix.patch
Pedro Monreal Gonzalez 8ea02c9708 Accepting request 1120320 from home:pmonrealgonzalez:branches:Base:System
- Do not pull revision info from GIT when autoconf is run. This
  removes the -unknown suffix after the version number.
  * Run autoreconf for the added patch and add the build
    dependecies on autoconf, automake and libtool.
  * Add libksba-nobetasuffix.patch [bsc#1216334]

OBS-URL: https://build.opensuse.org/request/show/1120320
OBS-URL: https://build.opensuse.org/package/show/Base:System/libksba?expand=0&rev=56
2023-10-25 14:33:43 +00:00

25 lines
652 B
Diff

Index: libksba-1.6.4/autogen.sh
===================================================================
--- libksba-1.6.4.orig/autogen.sh
+++ libksba-1.6.4/autogen.sh
@@ -222,7 +222,7 @@ if [ "$myhost" = "find-version" ]; then
esac
beta=no
- if [ -d .git ]; then
+ if false; then
ingit=yes
tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
if [ -n "$tmp" ]; then
@@ -236,8 +236,8 @@ if [ "$myhost" = "find-version" ]; then
rvd=$((0x$(echo ${rev} | head -c 4)))
else
ingit=no
- beta=yes
- tmp="-unknown"
+ beta=no
+ tmp=""
rev="0000000"
rvd="0"
fi