public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/lldpad] rawhide: Use %make_build and %make_install instead of manual make invocations
@ 2026-10-05 12:23 Michal Schmidt
0 siblings, 0 replies; only message in thread
From: Michal Schmidt @ 2026-10-05 12:23 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-05 12:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-05 12:23 [rpms/lldpad] rawhide: Use %make_build and %make_install instead of manual make invocations Michal Schmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox