Accepting request 120625 from home:a_faerber:branches:Base:System

This adds a pcre-devel-static package, needed for qemu-linux-user 1.1 update for 12.2 (glib-2.0 has grown a dependency on -lpcre). Please forward to Factory.

OBS-URL: https://build.opensuse.org/request/show/120625
OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=37
This commit is contained in:
Stephan Kulow 2012-05-10 17:27:15 +00:00 committed by Git OBS Bridge
parent 91c6f5897c
commit ce4b90c2e1
2 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 10 15:59:21 UTC 2012 - afaerber@suse.de
- Add devel-static package
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 7 15:10:59 UTC 2012 - crrodriguez@opensuse.org Tue Feb 7 15:10:59 UTC 2012 - crrodriguez@opensuse.org

View File

@ -45,10 +45,10 @@ as Perl 5.
%package devel %package devel
Summary: A library for Perl-compatible regular expressions Summary: A library for Perl-compatible regular expressions
Group: System/Libraries Group: System/Libraries
Requires: libstdc++-devel
Requires: libpcre1 = %{version} Requires: libpcre1 = %{version}
Requires: libpcreposix0 = %{version}
Requires: libpcrecpp0 = %{version} Requires: libpcrecpp0 = %{version}
Requires: libpcreposix0 = %{version}
Requires: libstdc++-devel
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: pcre-devel-64bit Obsoletes: pcre-devel-64bit
@ -60,6 +60,17 @@ 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 devel-static
Summary: A library for Perl-compatible regular expressions
Group: System/Libraries
Requires: pcre-devel = %version
%description devel-static
The PCRE library is a set of functions that implement regular
expression pattern matching using the same syntax and semantics
as Perl 5.
This package contains static versions of the PCRE libraries.
%package -n libpcre1 %package -n libpcre1
Summary: A library for Perl-compatible regular expressions Summary: A library for Perl-compatible regular expressions
Group: System/Libraries Group: System/Libraries
@ -117,7 +128,7 @@ as Perl 5.
%build %build
autoreconf -fiv autoreconf -fiv
%configure --enable-jit --disable-static \ %configure --enable-jit --enable-static \
--with-link-size=2 \ --with-link-size=2 \
--with-match-limit=10000000 \ --with-match-limit=10000000 \
--enable-newline-is-lf \ --enable-newline-is-lf \
@ -199,4 +210,8 @@ make test
%{_mandir}/man1/pcre-config.* %{_mandir}/man1/pcre-config.*
%{_mandir}/man3/*.gz %{_mandir}/man3/*.gz
%files devel-static
%defattr(-,root,root)
%{_libdir}/*.a
%changelog %changelog