SHA256
1
0
forked from pool/libgpg-error

Accepting request 1118292 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.
  * Add libgpg-error-nobetasuffix.patch [bsc#1216334]

OBS-URL: https://build.opensuse.org/request/show/1118292
OBS-URL: https://build.opensuse.org/package/show/Base:System/libgpg-error?expand=0&rev=102
This commit is contained in:
Pedro Monreal Gonzalez 2023-10-19 07:34:20 +00:00 committed by Git OBS Bridge
parent af4d67fa2c
commit 2b25d40fd8
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,24 @@
Index: libgpg-error-1.47/autogen.sh
===================================================================
--- libgpg-error-1.47.orig/autogen.sh
+++ libgpg-error-1.47/autogen.sh
@@ -243,7 +243,7 @@ if [ "$myhost" = "find-version" ]; then
fi
beta=no
- if [ -e .git ]; then
+ if false; then
ingit=yes
tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
if [ -n "$tmp" ]; then
@@ -268,8 +268,8 @@ if [ "$myhost" = "find-version" ]; then
rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null)))
else
ingit=no
- beta=yes
- tmp="-unknown"
+ beta=no
+ tmp=""
rev="0000000"
rvd="0"
fi

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Oct 17 10:27:15 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
- Do not pull revision info from GIT when autoconf is run. This
removes the -unknown suffix after the version number.
* Add libgpg-error-nobetasuffix.patch [bsc#1216334]
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 12 11:43:52 UTC 2023 - Pedro Monreal <pmonreal@suse.com> Wed Apr 12 11:43:52 UTC 2023 - Pedro Monreal <pmonreal@suse.com>

View File

@ -28,6 +28,8 @@ Source1: https://gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar
# http://www.gnupg.org/signature_key.en.html # http://www.gnupg.org/signature_key.en.html
Source2: %{name}.keyring Source2: %{name}.keyring
Source3: baselibs.conf Source3: baselibs.conf
#PATCH-FIX-OPENSUSE Do not pull revision info from GIT when autoconf is run
Patch0: libgpg-error-nobetasuffix.patch
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig