spec: Drop make install sharedir and datadir usage

qemu doesn't use sharedir. datadir is set at configure time

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2021-07-02 15:32:09 -04:00
parent 183fcd911e
commit 0ae9d20128

View File

@ -1566,10 +1566,7 @@ install -p -m 0644 %{_sourcedir}/README.tests %{buildroot}%{testsdir}/README
# Do the actual qemu tree install
pushd %{qemu_kvm_build}
make DESTDIR=%{buildroot} \
sharedir="%{_datadir}/%{name}" \
datadir="%{_datadir}/%{name}" \
install
make DESTDIR=%{buildroot} install
popd