Browse Source

fix incorrect install location

tags/9.1^2
Chris Cromer 5 months ago
parent
commit
e3632f488a
Signed by: cromer GPG Key ID: 39CC813FF3C8708A
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      SPECS/bzip2.spec

+ 2
- 2
SPECS/bzip2.spec 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
#-----------------------------------------------------------------------------


Loading…
Cancel
Save