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