From ce4b90c2e1c6ae029d6e172fe1e789d706c30974560b752af2f8150f6a289e97 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 10 May 2012 17:27:15 +0000 Subject: [PATCH] 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 --- pcre.changes | 5 +++++ pcre.spec | 21 ++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/pcre.changes b/pcre.changes index 8b6d22b..ae4d3d2 100644 --- a/pcre.changes +++ b/pcre.changes @@ -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 diff --git a/pcre.spec b/pcre.spec index 8669f09..b511524 100644 --- a/pcre.spec +++ b/pcre.spec @@ -45,10 +45,10 @@ as Perl 5. %package devel Summary: A library for Perl-compatible regular expressions Group: System/Libraries -Requires: libstdc++-devel Requires: libpcre1 = %{version} -Requires: libpcreposix0 = %{version} Requires: libpcrecpp0 = %{version} +Requires: libpcreposix0 = %{version} +Requires: libstdc++-devel # bug437293 %ifarch ppc64 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 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 Summary: A library for Perl-compatible regular expressions Group: System/Libraries @@ -117,7 +128,7 @@ as Perl 5. %build autoreconf -fiv -%configure --enable-jit --disable-static \ +%configure --enable-jit --enable-static \ --with-link-size=2 \ --with-match-limit=10000000 \ --enable-newline-is-lf \ @@ -199,4 +210,8 @@ make test %{_mandir}/man1/pcre-config.* %{_mandir}/man3/*.gz +%files devel-static +%defattr(-,root,root) +%{_libdir}/*.a + %changelog