trivial: use better macro for make (install) provided by RPM
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
78ad5e06b9
commit
d7233f80ab
@ -95,13 +95,13 @@ rm glib/pcre/*.[ch]
|
|||||||
--enable-installed-tests
|
--enable-installed-tests
|
||||||
)
|
)
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# Use -p to preserve timestamps on .py files to ensure
|
# Use -p to preserve timestamps on .py files to ensure
|
||||||
# they're not recompiled with different timestamps
|
# they're not recompiled with different timestamps
|
||||||
# to help multilib: https://bugzilla.redhat.com/show_bug.cgi?id=718404
|
# 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,
|
# 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
|
# otherwise it will vary by build time, and thus break multilib -devel
|
||||||
# installs.
|
# installs.
|
||||||
|
Loading…
Reference in New Issue
Block a user