OBS User unknown 2009-06-02 10:10:17 +00:00 committed by Git OBS Bridge
parent 5e0e667838
commit 10ddfcd137
2 changed files with 14 additions and 4 deletions

View File

@ -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 Wed May 27 18:03:13 CEST 2009 - ms@suse.de

View File

@ -21,7 +21,7 @@
Name: pcre Name: pcre
BuildRequires: gcc-c++ BuildRequires: gcc-c++
Version: 7.9 Version: 7.9
Release: 2 Release: 3
Summary: A library for Perl-compatible regular expressions Summary: A library for Perl-compatible regular expressions
License: BSD 3-Clause; Other uncritical OpenSource License License: BSD 3-Clause; Other uncritical OpenSource License
Group: System/Libraries Group: System/Libraries
@ -90,9 +90,12 @@ mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre
%{__rm} -f %{buildroot}%{_libdir}/*.la %{__rm} -f %{buildroot}%{_libdir}/*.la
#move pcre and pcreposix library into /lib #move pcre and pcreposix library into /lib
%{__mkdir_p} %{buildroot}/%{_lib} %{__mkdir_p} %{buildroot}/%{_lib}
mv %{buildroot}%{_libdir}/libpcre{,posix}.so.* %{buildroot}/%{_lib} for l in libpcre libpcreposix; do
ldest=$(readlink %{buildroot}/%{_libdir}/$l.so)
mv %{buildroot}%{_libdir}/$l.so.* %{buildroot}/%{_lib}
#update the symlinks for linking. #update the symlinks for linking.
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so %{__ln_s} -vf /%{_lib}/$ldest %{buildroot}%{_libdir}/$l.so
done
%check %check
export LANG=POSIX export LANG=POSIX
@ -130,6 +133,8 @@ make test
%{_mandir}/man3/*.gz %{_mandir}/man3/*.gz
%changelog %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 * Wed May 27 2009 ms@suse.de
- moved libpcre and libpcreposix to %%{_lib} (bnc #507449) - moved libpcre and libpcreposix to %%{_lib} (bnc #507449)
* Tue May 05 2009 ms@suse.de * Tue May 05 2009 ms@suse.de