public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/jemalloc] main: Use make macros
@ 2026-10-06 11:18 Tom Stellard
0 siblings, 0 replies; only message in thread
From: Tom Stellard @ 2026-10-06 11:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/jemalloc
Branch : main
Commit : 51203c0c8518b36e435368e0f33bf4c3d8681003
Author : Tom Stellard <tstellar@redhat.com>
Date : 2026-10-06T12:42:01+02:00
Stats : +3/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/jemalloc/c/51203c0c8518b36e435368e0f33bf4c3d8681003?branch=main
Log:
Use make macros
From: https://src.fedoraproject.org/rpms/jemalloc/pull-request/2
See: https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
---
diff --git a/jemalloc.spec b/jemalloc.spec
index 53933b8..a5f36c2 100644
--- a/jemalloc.spec
+++ b/jemalloc.spec
@@ -94,7 +94,7 @@ rm test/unit/retained.c
sed -i '/test\/unit\/retained\.c/d' Makefile
%endif
-make %{?_smp_mflags}
+%make_build
%check
@@ -103,7 +103,7 @@ make %{?_smp_mflags} check
%install
rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+%make_install
# Install this with doc macro instead
rm %{buildroot}%{_datadir}/doc/%{name}/jemalloc.html
@@ -133,6 +133,7 @@ find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
%changelog
* Tue Oct 06 2026 Timothée Ravier <tim@siosm.fr> - 5.4.0-3
- Split jeprof into a subpackage (fedora#2543810)
+- Use make macros: https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Mon Sep 21 2026 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.4.0-2
- Skipped a check to make s390x build, upstream issue 2753
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-06 11:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 11:18 [rpms/jemalloc] main: Use make macros Tom Stellard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox