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