diff --git a/bzip2.spec b/bzip2.spec index 438b4ef..89f52ac 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -1,7 +1,8 @@ +%define library_version 1.0.4 Summary: A file compression utility Name: bzip2 Version: 1.0.5 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: Applications/File 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} # temporary for rpm 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 bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT%{_bindir}/ 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 bzdiff $RPM_BUILD_ROOT%{_bindir}/bzcmp 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 bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzip2recover.1 ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bunzip2.1 @@ -108,6 +109,10 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/*.a %changelog +* Thu Apr 10 2008 Ivana Varekova 1.0.5-2 +- Resolves: #441775 + fix libs link + * Tue Mar 25 2008 Ivana Varekova 1.0.5-1 - update to 1.0.5