From 10ddfcd137514c197e7dbf80493b6674111f7cc52fef69bb51d7db51a3e8f179 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 2 Jun 2009 10:10:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre?expand=0&rev=18 --- pcre.changes | 5 +++++ pcre.spec | 13 +++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/pcre.changes b/pcre.changes index 18d629a..add6a3a 100644 --- a/pcre.changes +++ b/pcre.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 30 22:02:07 CEST 2009 - dmueller@suse.de + +- fix symlinks to libpcre and libpcreposix to fix the build + ------------------------------------------------------------------- Wed May 27 18:03:13 CEST 2009 - ms@suse.de diff --git a/pcre.spec b/pcre.spec index c95a999..c06f2f2 100644 --- a/pcre.spec +++ b/pcre.spec @@ -21,7 +21,7 @@ Name: pcre BuildRequires: gcc-c++ Version: 7.9 -Release: 2 +Release: 3 Summary: A library for Perl-compatible regular expressions License: BSD 3-Clause; Other uncritical OpenSource License Group: System/Libraries @@ -90,9 +90,12 @@ mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre %{__rm} -f %{buildroot}%{_libdir}/*.la #move pcre and pcreposix library into /lib %{__mkdir_p} %{buildroot}/%{_lib} -mv %{buildroot}%{_libdir}/libpcre{,posix}.so.* %{buildroot}/%{_lib} -#update the symlinks for linking. -%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so +for l in libpcre libpcreposix; do + ldest=$(readlink %{buildroot}/%{_libdir}/$l.so) + mv %{buildroot}%{_libdir}/$l.so.* %{buildroot}/%{_lib} + #update the symlinks for linking. + %{__ln_s} -vf /%{_lib}/$ldest %{buildroot}%{_libdir}/$l.so +done %check export LANG=POSIX @@ -130,6 +133,8 @@ make test %{_mandir}/man3/*.gz %changelog +* Sat May 30 2009 dmueller@suse.de +- fix symlinks to libpcre and libpcreposix to fix the build * Wed May 27 2009 ms@suse.de - moved libpcre and libpcreposix to %%{_lib} (bnc #507449) * Tue May 05 2009 ms@suse.de