[pcre] Add old libpcre.so.0 to preserve compatibility temporarily
Petr Pisar
ppisar at fedoraproject.org
Thu Feb 9 16:57:02 UTC 2012
commit 7c4a94b471780d68e8a477cf067b73ad5d1341b7
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Feb 9 15:16:20 2012 +0100
Add old libpcre.so.0 to preserve compatibility temporarily
pcre.spec | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/pcre.spec b/pcre.spec
index 14adaa8..e352891 100644
--- a/pcre.spec
+++ b/pcre.spec
@@ -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 at redhat.com> - 8.30-1
- 8.30 bump
+- Add old libpcre.so.0 to preserve compatibility temporarily
* Fri Jan 27 2012 Petr Pisar <ppisar at redhat.com> - 8.30-0.1.RC1
- 8.30 Relase candidate 1 with UTF-16 bump
More information about the scm-commits
mailing list