From ff2bec49ecd404ea3c5b769a7a2105d1b3a9ccf8 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 31 Jul 2018 11:31:34 -0400 Subject: [PATCH] spec: Use %make_install It's on RHEL7, saves a bit of typing, and lets us drop the comment Reviewed-by: Martin Kletzander Signed-off-by: Cole Robinson --- libvirt.spec.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 19ae55cdaf..f0c55554c3 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1257,10 +1257,7 @@ rm -fr %{buildroot} export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/%{name}.spec) -# Avoid using makeinstall macro as it changes prefixes rather than setting -# DESTDIR. Newer make_install macro would be better but it's not available -# on RHEL 5, thus we need to expand it here. -make %{?_smp_mflags} install DESTDIR=%{?buildroot} SYSTEMD_UNIT_DIR=%{_unitdir} V=1 +%make_install %{?_smp_mflags} SYSTEMD_UNIT_DIR=%{_unitdir} V=1 make %{?_smp_mflags} -C examples distclean V=1