use /usr/bin/make install DESTDIR=/home/kkeithle/rpmbuild/BUILDROOT/glusterfs-8.0-4.fc33.x86_64 INSTALL="/usr/bin/install -p" macro

Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2020-07-20 17:07:45 -04:00
parent 39a3707ff2
commit b513261e97

View File

@ -183,7 +183,7 @@ Summary: Distributed File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
Version: 8.0
Release: 3%{?dev:%{dev}}%{?dist}
Release: 4%{?dev:%{dev}}%{?dist}
%else
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
@ -818,7 +818,7 @@ make check
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%make_install
%if ( 0%{!?_without_server:1} )
%if ( 0%{_for_fedora_koji_builds} )
%if ( 0%{!?_without_server:1} )
@ -1578,6 +1578,9 @@ exit 0
%{_unitdir}/gluster-ta-volume.service
%changelog
* Mon Jul 20 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 8.0-4
- use %make_install macro
* Wed Jul 8 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 8.0-3
- thin-arbiter, w/o libglusterfs0