- Resolves: #441775 fix libs link
This commit is contained in:
parent
069f221f25
commit
87f7b958ed
11
bzip2.spec
11
bzip2.spec
@ -1,7 +1,8 @@
|
|||||||
|
%define library_version 1.0.4
|
||||||
Summary: A file compression utility
|
Summary: A file compression utility
|
||||||
Name: bzip2
|
Name: bzip2
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
URL: http://www.bzip.org/
|
URL: http://www.bzip.org/
|
||||||
@ -65,7 +66,7 @@ mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/%{_lib},%{_libdir},%{_inclu
|
|||||||
cp -p bzlib.h $RPM_BUILD_ROOT%{_includedir}
|
cp -p bzlib.h $RPM_BUILD_ROOT%{_includedir}
|
||||||
# temporary for rpm
|
# temporary for rpm
|
||||||
install -m 644 libbz2.a $RPM_BUILD_ROOT%{_libdir}
|
install -m 644 libbz2.a $RPM_BUILD_ROOT%{_libdir}
|
||||||
install -m 755 libbz2.so.1.0.4 $RPM_BUILD_ROOT/%{_lib}
|
install -m 755 libbz2.so.%{library_version} $RPM_BUILD_ROOT/%{_lib}
|
||||||
install -m 755 bzip2-shared $RPM_BUILD_ROOT%{_bindir}/bzip2
|
install -m 755 bzip2-shared $RPM_BUILD_ROOT%{_bindir}/bzip2
|
||||||
install -m 755 bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT%{_bindir}/
|
install -m 755 bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT%{_bindir}/
|
||||||
cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
@ -73,7 +74,7 @@ ln -s bzip2 $RPM_BUILD_ROOT%{_bindir}/bunzip2
|
|||||||
ln -s bzip2 $RPM_BUILD_ROOT%{_bindir}/bzcat
|
ln -s bzip2 $RPM_BUILD_ROOT%{_bindir}/bzcat
|
||||||
ln -s bzdiff $RPM_BUILD_ROOT%{_bindir}/bzcmp
|
ln -s bzdiff $RPM_BUILD_ROOT%{_bindir}/bzcmp
|
||||||
ln -s bzmore $RPM_BUILD_ROOT%{_bindir}/bzless
|
ln -s bzmore $RPM_BUILD_ROOT%{_bindir}/bzless
|
||||||
ln -s libbz2.so.%{version} $RPM_BUILD_ROOT/%{_lib}/libbz2.so.1
|
ln -s libbz2.so.%{library_version} $RPM_BUILD_ROOT/%{_lib}/libbz2.so.1
|
||||||
ln -s ../../%{_lib}/libbz2.so.1 $RPM_BUILD_ROOT/%{_libdir}/libbz2.so
|
ln -s ../../%{_lib}/libbz2.so.1 $RPM_BUILD_ROOT/%{_libdir}/libbz2.so
|
||||||
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzip2recover.1
|
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzip2recover.1
|
||||||
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bunzip2.1
|
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bunzip2.1
|
||||||
@ -108,6 +109,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 10 2008 Ivana Varekova <varekova@redhat.com> 1.0.5-2
|
||||||
|
- Resolves: #441775
|
||||||
|
fix libs link
|
||||||
|
|
||||||
* Tue Mar 25 2008 Ivana Varekova <varekova@redhat.com> 1.0.5-1
|
* Tue Mar 25 2008 Ivana Varekova <varekova@redhat.com> 1.0.5-1
|
||||||
- update to 1.0.5
|
- update to 1.0.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user