From ddce3ea91b59ab1a2373a1b895723ad8936d019d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jul 14 2020 20:47:11 +0000 Subject: Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- diff --git a/ltrace.spec b/ltrace.spec index 4b1dd35..8e593bc 100644 --- a/ltrace.spec +++ b/ltrace.spec @@ -1,7 +1,7 @@ Summary: Tracks runtime library calls from dynamically linked executables Name: ltrace Version: 0.7.91 -Release: 37%{?dist} +Release: 38%{?dist} URL: http://ltrace.alioth.debian.org/ License: GPLv2+ @@ -177,10 +177,10 @@ execution of processes. %build autoreconf -i %configure --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} -make %{?_smp_mflags} +%make_build %install -make DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} install +%make_install bindir=%{_bindir} # The testsuite is useful for development in real world, but fails in # koji for some reason. Disable it, but have it handy. @@ -200,6 +200,10 @@ echo ====================TESTING END===================== %{_datadir}/ltrace %changelog +* Tue Jul 14 2020 Tom Stellard - 0.7.91-38 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Thu Feb 6 2020 DJ Delorie - 0.7.91-37 - Initialize some variables to avoid gcc warning (#1799619)