fix incorrect install location

This commit is contained in:
Chris Cromer 2020-06-01 16:45:17 -04:00
parent 9965429fe1
commit e3632f488a
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A

View File

@ -28,7 +28,7 @@ than with the traditional gzip.
make clean
make
%install
make PREFIX=%{_prefix} install
make PREFIX=%{buildroot}/%{_prefix} install
install -vdm 755 %{buildroot}/bin
install -vdm 755 %{buildroot}/lib
install -vdm 755 %{buildroot}%{_libdir}
@ -36,7 +36,7 @@ than with the traditional gzip.
cp -v bzip2-shared %{buildroot}/bin/bzip2
cp -av libbz2.so* %{buildroot}/lib
ln -sv ../../lib/libbz2.so.1.0 %{buildroot}%{_libdir}/libbz2.so
rm -v %{buildroot}%{_bindir}/{bunzip2,bzcat,bzip2}
rm -v %{buildroot}/%{_bindir}/{bunzip2,bzcat,bzip2}
ln -sv bzip2 %{buildroot}/bin/bunzip2
ln -sv bzip2 %{buildroot}/bin/bzcat
#-----------------------------------------------------------------------------