From d7233f80abffcff2e8203e2704dcce9c72887cd2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 7 Aug 2017 22:45:34 +0200 Subject: [PATCH] trivial: use better macro for make (install) provided by RPM Signed-off-by: Igor Gnatenko --- glib2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib2.spec b/glib2.spec index ac84e11..40986af 100644 --- a/glib2.spec +++ b/glib2.spec @@ -95,13 +95,13 @@ rm glib/pcre/*.[ch] --enable-installed-tests ) -make %{?_smp_mflags} +%make_build %install # Use -p to preserve timestamps on .py files to ensure # they're not recompiled with different timestamps # to help multilib: https://bugzilla.redhat.com/show_bug.cgi?id=718404 -make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c" +%make_install INSTALL="install -p" # Also since this is a generated .py file, set it to a known timestamp, # otherwise it will vary by build time, and thus break multilib -devel # installs.