From 2a666e7979282fcd0d59ae8dc8e11b66cd1dfeaf Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 11 Mar 2022 13:39:25 -0500 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- jq.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/jq.spec b/jq.spec index 564b87d..19ffd65 100644 --- a/jq.spec +++ b/jq.spec @@ -1,6 +1,6 @@ Name: jq Version: 1.6 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Command-line JSON processor License: MIT and ASL 2.0 and CC-BY and GPLv3 @@ -56,7 +56,7 @@ Development files for %{name} %build autoreconf -if %configure --disable-static -make %{?_smp_mflags} +%make_build # Docs already shipped in jq's tarball. # In order to build the manual page, it # is necessary to install rake, rubygem-ronn @@ -72,7 +72,7 @@ make %{?_smp_mflags} # $ make real_docs %install -make DESTDIR=%{buildroot} install +%make_install find %{buildroot} -name '*.la' -exec rm -f {} ';' # Delete build-time RPATH that is unnecessary on an installed @@ -103,6 +103,10 @@ make check %changelog +* Fri Mar 11 2022 Neal Gompa - 1.6-13 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Mar 08 2022 Davide Cavalca - 1.6-12 - Backport PR#2400 to fix iteration for non-decimal strings (rhbz#2017285)