public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Schmidt <mschmidt@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lldpad] rawhide: Use %make_build and %make_install instead of manual make invocations
Date: Mon, 05 Oct 2026 12:23:35 GMT	[thread overview]
Message-ID: <179120301512.1.5414867097629112743.rpms-lldpad-61f669a1fbd9@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/lldpad
            Branch : rawhide
            Commit : 61f669a1fbd97bea4d2d10af3ff98ba79527c64e
            Author : Michal Schmidt <mschmidt@redhat.com>
            Date   : 2026-09-16T19:56:44+02:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/lldpad/c/61f669a1fbd97bea4d2d10af3ff98ba79527c64e?branch=rawhide

            Log:
            Use %make_build and %make_install instead of manual make invocations

Verified with fedpkg mockbuild.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---
diff --git a/lldpad.spec b/lldpad.spec
index 0143c91..51eac2a 100644
--- a/lldpad.spec
+++ b/lldpad.spec
@@ -54,10 +54,10 @@ CFLAGS=${CFLAGS:-%optflags -Wno-error -fcommon}; export CFLAGS;
 %configure --disable-static
 # fix the hardened build flags
 sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool
-make %{?_smp_mflags}
+%make_build
 
 %install
-make install DESTDIR=%{buildroot}
+%make_install
 mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
 rm -f %{buildroot}%{_libdir}/liblldp_clif.la
 

                 reply	other threads:[~2026-10-05 12:23 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=179120301512.1.5414867097629112743.rpms-lldpad-61f669a1fbd9@fedoraproject.org \
    --to=mschmidt@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