public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nettle] rawhide: Fix build with bundle_gmp
@ 2026-07-24 18:42 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-24 18:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/nettle
            Branch : rawhide
            Commit : 4eea9be7fd66514e04f61faa44f3c6fe4a18661e
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-24T14:40:12-04:00
            Stats  : +4/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/nettle/c/4eea9be7fd66514e04f61faa44f3c6fe4a18661e?branch=rawhide

            Log:
            Fix build with bundle_gmp

The --with-include-path and --with-lib-path options were removed in 4.0:

https://git.lysator.liu.se/nettle/nettle/-/commit/8d4556a911e5ddfa1d029c47eb52e735715fb1d2

---
diff --git a/nettle.spec b/nettle.spec
index 7ba72c1..0864ac6 100644
--- a/nettle.spec
+++ b/nettle.spec
@@ -124,11 +124,12 @@ popd
 autoreconf -ifv
 # For annocheck
 export ASM_FLAGS="-Wa,--generate-missing-build-notes=yes"
-%configure --enable-shared --enable-fat \
---disable-sm3 --disable-sm4 --disable-ecc-secp192r1 --disable-ecc-secp224r1 \
 %if %{with bundle_gmp}
---with-include-path=$PWD/bundled_gmp --with-lib-path=$PWD/bundled_gmp/.libs \
+export CFLAGS="$CFLAGS -I${PWD}/bundled_gmp"
+export LDFLAGS="$LDFLAGS -L${PWD}/bundled_gmp/.libs"
 %endif
+%configure --enable-shared --enable-fat \
+--disable-sm3 --disable-sm4 --disable-ecc-secp192r1 --disable-ecc-secp224r1 \
 %{nil}
 %make_build
 

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

only message in thread, other threads:[~2026-07-24 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-24 18:42 [rpms/nettle] rawhide: Fix build with bundle_gmp Yaakov Selkowitz

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