Accepting request 1118845 from security:privacy

OBS-URL: https://build.opensuse.org/request/show/1118845
OBS-URL: https://build.opensuse.org/package/show/Base:System/gpg2?expand=0&rev=296
This commit is contained in:
Pedro Monreal Gonzalez 2023-10-19 08:12:17 +00:00 committed by Git OBS Bridge
parent 478e599991
commit eb82e4c4b9
3 changed files with 33 additions and 0 deletions

24
gnupg-nobetasuffix.patch Normal file
View File

@ -0,0 +1,24 @@
Index: gnupg-2.4.3/autogen.sh
===================================================================
--- gnupg-2.4.3.orig/autogen.sh
+++ gnupg-2.4.3/autogen.sh
@@ -221,7 +221,7 @@ if [ "$myhost" = "find-version" ]; then
esac
beta=no
- if [ -e .git ]; then
+ if false; then
ingit=yes
tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null)
tmp=$(echo "$tmp" | sed s/^"$package"//)
@@ -237,8 +237,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 gnupg-nobetasuffix.patch [bsc#1216334]
-------------------------------------------------------------------
Mon Oct 16 19:54:40 UTC 2023 - Pedro Monreal <pmonreal@suse.com>

View File

@ -46,6 +46,8 @@ Patch11: gnupg-allow-large-rsa.patch
Patch12: gnupg-revert-rfc4880bis.patch
#PATCH-FIX-UPSTREAM Fix emacs gpg2 output parsing
Patch13: gnupg-Report-BEGIN_-status-before-examining-the-input.patch
#PATCH-FIX-OPENSUSE Do not pull revision info from GIT when autoconf is run
Patch14: gnupg-nobetasuffix.patch
BuildRequires: expect
BuildRequires: fdupes
BuildRequires: ibmswtpm2