Add old libpcre.so.0 to preserve compatibility temporarily

This commit is contained in:
Petr Písař 2012-02-09 15:16:20 +01:00
parent 90bc5d6a2b
commit 7c4a94b471

View File

@ -16,6 +16,8 @@ Patch1: pcre-8.30-refused_spelling_terminated.patch
BuildRequires: readline-devel
# New libtool to get rid of rpath
BuildRequires: autoconf, automake, libtool
# SONAME change
BuildRequires: pcre
%description
Perl-compatible regular expression library.
@ -88,6 +90,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# These are handled by %%doc in %%files
rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre
# SONAME change
cp -p /%{_lib}/libpcre.so.0.0.1 $RPM_BUILD_ROOT/%{_lib}
ln -s libpcre.so.0.0.1 $RPM_BUILD_ROOT/%{_lib}/libpcre.so.0
%check
%ifarch s390 ppc
# larger stack is needed on s390, ppc
@ -127,6 +133,7 @@ make check
%changelog
* Thu Feb 09 2012 Petr Pisar <ppisar@redhat.com> - 8.30-1
- 8.30 bump
- Add old libpcre.so.0 to preserve compatibility temporarily
* Fri Jan 27 2012 Petr Pisar <ppisar@redhat.com> - 8.30-0.1.RC1
- 8.30 Relase candidate 1 with UTF-16 bump