Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libksba for openSUSE:Factory checked 
in at 2023-10-27 22:27:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libksba (Old)
 and      /work/SRC/openSUSE:Factory/.libksba.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libksba"

Fri Oct 27 22:27:04 2023 rev:46 rq:1120323 version:1.6.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/libksba/libksba.changes  2023-06-21 
22:37:41.321587432 +0200
+++ /work/SRC/openSUSE:Factory/.libksba.new.17445/libksba.changes       
2023-10-27 22:27:06.461125737 +0200
@@ -1,0 +2,9 @@
+Tue Oct 17 10:27:15 UTC 2023 - Pedro Monreal <pmonr...@suse.com>
+
+- 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]
+
+-------------------------------------------------------------------

New:
----
  libksba-nobetasuffix.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libksba.spec ++++++
--- /var/tmp/diff_new_pack.TyYlfu/_old  2023-10-27 22:27:06.949143635 +0200
+++ /var/tmp/diff_new_pack.TyYlfu/_new  2023-10-27 22:27:06.953143783 +0200
@@ -29,6 +29,11 @@
 # https://www.gnupg.org/signature_key.html
 Source3:        %{name}.keyring
 Source4:        libksba.changes
+#PATCH-FIX-OPENSUSE Do not pull revision info from GIT when autoconf is run
+Patch0:         libksba-nobetasuffix.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gpg-error) >= 1.8
 
@@ -63,6 +68,7 @@
 %autosetup -p1
 
 %build
+autoreconf -vfi
 build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE4})
 %configure \
        --disable-static \


++++++ libksba-nobetasuffix.patch ++++++
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

Reply via email to