From 5e0e66783825033f1eefd6c1e692a5aba8a1be0c61fa2c331a5d92fdd9ce11ed Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 28 May 2009 20:52:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcre?expand=0&rev=17 --- pcre.changes | 5 +++++ pcre.spec | 10 +++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pcre.changes b/pcre.changes index 78b72ad..18d629a 100644 --- a/pcre.changes +++ b/pcre.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 27 18:03:13 CEST 2009 - ms@suse.de + +- moved libpcre and libpcreposix to %{_lib} (bnc #507449) + ------------------------------------------------------------------- Tue May 5 14:24:17 CEST 2009 - ms@suse.de diff --git a/pcre.spec b/pcre.spec index fe49a34..c95a999 100644 --- a/pcre.spec +++ b/pcre.spec @@ -21,7 +21,7 @@ Name: pcre BuildRequires: gcc-c++ Version: 7.9 -Release: 1 +Release: 2 Summary: A library for Perl-compatible regular expressions License: BSD 3-Clause; Other uncritical OpenSource License Group: System/Libraries @@ -88,6 +88,11 @@ Authors: mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre #empty dependecy_libs %{__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 %check export LANG=POSIX @@ -108,6 +113,7 @@ make test %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS NON-UNIX-USE README %doc doc/html doc/*.txt +/%{_lib}/*.so.* %{_libdir}/*.so.* %{_bindir}/pcregrep %{_bindir}/pcretest @@ -124,6 +130,8 @@ make test %{_mandir}/man3/*.gz %changelog +* Wed May 27 2009 ms@suse.de +- moved libpcre and libpcreposix to %%{_lib} (bnc #507449) * Tue May 05 2009 ms@suse.de - Release 7.9 11-Apr-09 (bnc #500734) Mostly bugfixes and tidies with just a couple of minor