OBS User unknown 2009-05-28 20:52:38 +00:00 committed by Git OBS Bridge
parent 31f2ea5624
commit 5e0e667838
2 changed files with 14 additions and 1 deletions

View File

@ -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 Tue May 5 14:24:17 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: 1 Release: 2
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
@ -88,6 +88,11 @@ Authors:
mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre mv %{buildroot}/usr/share/doc/pcre %{buildroot}/%{_defaultdocdir}/pcre
#empty dependecy_libs #empty dependecy_libs
%{__rm} -f %{buildroot}%{_libdir}/*.la %{__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 %check
export LANG=POSIX export LANG=POSIX
@ -108,6 +113,7 @@ make test
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS NON-UNIX-USE README %doc AUTHORS COPYING ChangeLog INSTALL LICENCE NEWS NON-UNIX-USE README
%doc doc/html doc/*.txt %doc doc/html doc/*.txt
/%{_lib}/*.so.*
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_bindir}/pcregrep %{_bindir}/pcregrep
%{_bindir}/pcretest %{_bindir}/pcretest
@ -124,6 +130,8 @@ make test
%{_mandir}/man3/*.gz %{_mandir}/man3/*.gz
%changelog %changelog
* Wed May 27 2009 ms@suse.de
- moved libpcre and libpcreposix to %%{_lib} (bnc #507449)
* Tue May 05 2009 ms@suse.de * Tue May 05 2009 ms@suse.de
- Release 7.9 11-Apr-09 (bnc #500734) - Release 7.9 11-Apr-09 (bnc #500734)
Mostly bugfixes and tidies with just a couple of minor Mostly bugfixes and tidies with just a couple of minor