trivial: use better macro for make (install) provided by RPM

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2017-08-07 22:45:34 +02:00
parent 78ad5e06b9
commit d7233f80ab
1 changed files with 2 additions and 2 deletions

View File

@ -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.