fix incorrect install location
This commit is contained in:
parent
9965429fe1
commit
e3632f488a
@ -28,7 +28,7 @@ than with the traditional gzip.
|
|||||||
make clean
|
make clean
|
||||||
make
|
make
|
||||||
%install
|
%install
|
||||||
make PREFIX=%{_prefix} install
|
make PREFIX=%{buildroot}/%{_prefix} install
|
||||||
install -vdm 755 %{buildroot}/bin
|
install -vdm 755 %{buildroot}/bin
|
||||||
install -vdm 755 %{buildroot}/lib
|
install -vdm 755 %{buildroot}/lib
|
||||||
install -vdm 755 %{buildroot}%{_libdir}
|
install -vdm 755 %{buildroot}%{_libdir}
|
||||||
@ -36,7 +36,7 @@ than with the traditional gzip.
|
|||||||
cp -v bzip2-shared %{buildroot}/bin/bzip2
|
cp -v bzip2-shared %{buildroot}/bin/bzip2
|
||||||
cp -av libbz2.so* %{buildroot}/lib
|
cp -av libbz2.so* %{buildroot}/lib
|
||||||
ln -sv ../../lib/libbz2.so.1.0 %{buildroot}%{_libdir}/libbz2.so
|
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/bunzip2
|
||||||
ln -sv bzip2 %{buildroot}/bin/bzcat
|
ln -sv bzip2 %{buildroot}/bin/bzcat
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user