From b4befffd951f884f9cb4a95933fb43b061d64eb2 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 11 Jul 2004 14:36:07 +0000 Subject: [PATCH] - provide libbz2.so.1.0 compatibility symlink; release 8 Changed files: bzip2.spec -> 1.78 --- bzip2.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/bzip2.spec b/bzip2.spec index f101b9c..9954d5a 100644 --- a/bzip2.spec +++ b/bzip2.spec @@ -7,7 +7,7 @@ Summary(uk): Summary(ru): ëÏÍÐÒÅÓÓÏÒ ÆÁÊÌÏ× ÎÁ ÏÓÎÏ×Å ÁÌÇÏÒÉÔÍÁ ÂÌÏÞÎÏÊ ÓÏÒÔÉÒÏ×ËÉ Name: bzip2 Version: 1.0.2 -Release: 7 +Release: 8 Epoch: 0 License: BSD-like Group: Applications/Archiving @@ -20,8 +20,13 @@ URL: http://sources.redhat.com/bzip2/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool -BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%ifarch amd64 ia64 ppc64 sparc64 +Provides: libbz2.so.1.0()(64bit) +%else +Provides: libbz2.so.1.0 +%endif Obsoletes: libbzip2 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Bzip2 compresses files using the Burrows-Wheeler block-sorting text @@ -163,6 +168,10 @@ sed -e "s@%%{_bindir}@%{_bindir}@g" \ $RPM_BUILD_ROOT%{_bindir}/bzless rm -f $RPM_BUILD_ROOT%{_bindir}/bzless.tmp +# standard soname was libbz2.so.1.0, libtoolizeautoconf patch broke it, +# but ABI has not changed - provide symlink for binary compatibility +ln -sf libbz2.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libbz2.so.1.0 + bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} %clean @@ -174,7 +183,8 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README* NEWS Y2K_INFO -%attr(755,root,root) %{_libdir}/lib*.so.*.* +%attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%attr(755,root,root) %{_libdir}/lib*.so.1.0 %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* %lang(es) %{_mandir}/es/man1/* -- 2.44.0