public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/nettle] rawhide: Fix build with bundle_gmp
Date: Fri, 24 Jul 2026 18:42:48 GMT	[thread overview]
Message-ID: <178491856855.1.17909285546237481516.rpms-nettle-4eea9be7fd66@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-07-24 18:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178491856855.1.17909285546237481516.rpms-nettle-4eea9be7fd66@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox