public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/net-snmp] rawhide: Fix "Checking the Net-SNMP configure script validity" test
@ 2026-06-12 15:08 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-12 15:08 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/net-snmp
            Branch : rawhide
            Commit : f11e93ce096c2be03cb441869235cabd74fdcaeb
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-08T12:39:06-04:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/net-snmp/c/f11e93ce096c2be03cb441869235cabd74fdcaeb?branch=rawhide

            Log:
            Fix "Checking the Net-SNMP configure script validity" test

Autoreconf is run during build, which may be a different version than
upstream used, resulting in a mismatch that causes this test to fail.

---
diff --git a/net-snmp.spec b/net-snmp.spec
index 2291398..f65b878 100644
--- a/net-snmp.spec
+++ b/net-snmp.spec
@@ -90,7 +90,7 @@ BuildRequires:   perl(TAP::Harness)
 BuildRequires:   perl(vars)
 BuildRequires:   perl(warnings)
 BuildRequires:   lm_sensors-devel >= 3
-BuildRequires:   autoconf, automake
+BuildRequires:   autoconf, automake, libtool
 
 %description
 SNMP (Simple Network Management Protocol) is a protocol used for
@@ -247,10 +247,14 @@ cp %{SOURCE10} .
 # disable failing test - see https://bugzilla.redhat.com/show_bug.cgi?id=680697
 rm testing/fulltests/default/T200*
 
+# Autoreconf is run during build, which may be a different version than upstream used,
+# resulting in a mismatch during "Checking the Net-SNMP configure script validity" test
+autoconf --version | awk 'NR==1 {print $4}' > dist/autoconf-version
+
 %build
 
 # Autoreconf to get autoconf 2.69 for ARM (#926223)
-autoreconf
+autoreconf -fiv
 
 MIBS="host agentx smux \
      ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail \

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-12 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-12 15:08 [rpms/net-snmp] rawhide: Fix "Checking the Net-SNMP configure script validity" test Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox