Rely on %make_install overriding INSTALL, instead of doing it ourselves

This commit is contained in:
Kalev Lember 2018-05-27 14:18:20 +02:00
parent dea8a050cc
commit 6c43ffbb6e

View File

@ -102,11 +102,8 @@ rm glib/pcre/*.[ch]
%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 INSTALL="install -p"
# Also since this is a generated .py file, set it to a known timestamp,
%make_install
# 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.
touch -r gio/gdbus-2.0/codegen/config.py.in $RPM_BUILD_ROOT/%{_datadir}/glib-2.0/codegen/config.py