Accepting request 140561 from home:cgiboudeaux:branches:Base:System

Enable the --enable-pcre16 option. Will be required by Qt5 in the future

OBS-URL: https://build.opensuse.org/request/show/140561
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=43
This commit is contained in:
2012-11-07 20:14:22 +00:00
committed by Git OBS Bridge
parent a9252fe03c
commit b65db8f125
3 changed files with 27 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
libpcre1 libpcre1
libpcre16-0
libpcreposix0 libpcreposix0
libpcrecpp0 libpcrecpp0
provides "pcre-<targettype> = <version>" provides "pcre-<targettype> = <version>"

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 7 13:35:35 UTC 2012 - cgiboudeaux@gmx.com
- Use the --enable-pcre16 configure flag.
This switch enables 16 bit character support that will be required by Qt5
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 17 14:18:53 UTC 2012 - dimstar@opensuse.org Fri Aug 17 14:18:53 UTC 2012 - dimstar@opensuse.org

View File

@@ -46,6 +46,7 @@ as Perl 5.
Summary: A library for Perl-compatible regular expressions Summary: A library for Perl-compatible regular expressions
Group: System/Libraries Group: System/Libraries
Requires: libpcre1 = %{version} Requires: libpcre1 = %{version}
Requires: libpcre16-0 = %{version}
Requires: libpcrecpp0 = %{version} Requires: libpcrecpp0 = %{version}
Requires: libpcreposix0 = %{version} Requires: libpcreposix0 = %{version}
Requires: libstdc++-devel Requires: libstdc++-devel
@@ -82,6 +83,15 @@ The PCRE library is a set of functions that implement regular
expression pattern matching using the same syntax and semantics expression pattern matching using the same syntax and semantics
as Perl 5. as Perl 5.
%package -n libpcre16-0
Summary: A library for Perl-compatible regular expressions
Group: System/Libraries
%description -n libpcre16-0
The PCRE library is a set of functions that implement regular
expression pattern matching using the same syntax and semantics
as Perl 5.
%package -n libpcreposix0 %package -n libpcreposix0
Summary: A library for Perl-compatible regular expressions Summary: A library for Perl-compatible regular expressions
Group: System/Libraries Group: System/Libraries
@@ -137,6 +147,7 @@ autoreconf -fiv
--with-link-size=2 \ --with-link-size=2 \
--with-match-limit=10000000 \ --with-match-limit=10000000 \
--enable-newline-is-lf \ --enable-newline-is-lf \
--enable-pcre16 \
--enable-utf8 \ --enable-utf8 \
--enable-unicode-properties --enable-unicode-properties
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
@@ -172,6 +183,10 @@ make test
%postun -n libpcre1 -p /sbin/ldconfig %postun -n libpcre1 -p /sbin/ldconfig
%post -n libpcre16-0 -p /sbin/ldconfig
%postun -n libpcre16-0 -p /sbin/ldconfig
%post -n libpcrecpp0 -p /sbin/ldconfig %post -n libpcrecpp0 -p /sbin/ldconfig
%postun -n libpcrecpp0 -p /sbin/ldconfig %postun -n libpcrecpp0 -p /sbin/ldconfig
@@ -185,6 +200,10 @@ make test
%doc AUTHORS COPYING ChangeLog LICENCE NEWS README %doc AUTHORS COPYING ChangeLog LICENCE NEWS README
%{_libdir}/libpcre.so.* %{_libdir}/libpcre.so.*
%files -n libpcre16-0
%defattr(-,root,root)
%{_libdir}/libpcre16.so.*
%files -n libpcrecpp0 %files -n libpcrecpp0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libpcrecpp.so.* %{_libdir}/libpcrecpp.so.*
@@ -210,6 +229,7 @@ make test
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/libpcre.pc %{_libdir}/pkgconfig/libpcre.pc
%{_libdir}/pkgconfig/libpcre16.pc
%{_libdir}/pkgconfig/libpcrecpp.pc %{_libdir}/pkgconfig/libpcrecpp.pc
%{_libdir}/pkgconfig/libpcreposix.pc %{_libdir}/pkgconfig/libpcreposix.pc
%{_mandir}/man1/pcre-config.* %{_mandir}/man1/pcre-config.*