Accepting request 882723 from home:elvigia:branches:devel:libraries:c_c++
Let me to know what really breaks (pcre posix should't be too popular) And I will fix the fallout myself. - libpcre2-posix exports symbols that conflict with libc, so it should not be pulled by pcre-devel only by applications that explicitly BuildRequires: pkgconfig(libpcre-posix2) , split a libpcre2-posix-devel package. OBS-URL: https://build.opensuse.org/request/show/882723 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pcre2?expand=0&rev=48
This commit is contained in:
parent
c26865270b
commit
33599ffbfc
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 2 13:34:41 UTC 2021 - Cristian Rodríguez <crrodriguez@opensuse.org>
|
||||||
|
|
||||||
|
- libpcre2-posix exports symbols that conflict with libc, so it
|
||||||
|
should not be pulled by pcre-devel only by applications that
|
||||||
|
explicitly BuildRequires: pkgconfig(libpcre-posix2) , split a
|
||||||
|
libpcre2-posix-devel package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 5 12:41:55 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
Sat Dec 5 12:41:55 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
30
pcre2.spec
30
pcre2.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pcre2
|
# spec file for package pcre2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -54,7 +54,6 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: libpcre2-16-0 = %{version}
|
Requires: libpcre2-16-0 = %{version}
|
||||||
Requires: libpcre2-32-0 = %{version}
|
Requires: libpcre2-32-0 = %{version}
|
||||||
Requires: libpcre2-8-0 = %{version}
|
Requires: libpcre2-8-0 = %{version}
|
||||||
Requires: libpcre2-posix2 = %{version}
|
|
||||||
Requires: libstdc++-devel
|
Requires: libstdc++-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -137,6 +136,20 @@ API.
|
|||||||
|
|
||||||
pcre2-posix provides a POSIX-compatible API to the PCRE2 engine.
|
pcre2-posix provides a POSIX-compatible API to the PCRE2 engine.
|
||||||
|
|
||||||
|
%package -n libpcre2-posix-devel
|
||||||
|
Summary: A library for Perl-compatible regular expressions
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libpcre2-posix2 = %{version}
|
||||||
|
Provides: %{_includedir}/pcre2posix.h
|
||||||
|
|
||||||
|
%description -n libpcre2-posix-devel
|
||||||
|
The PCRE2 library is a set of functions that implement regular
|
||||||
|
expression pattern matching using the same syntax and semantics
|
||||||
|
as Perl 5.
|
||||||
|
|
||||||
|
PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
||||||
|
API.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: A library for Perl-compatible regular expressions
|
Summary: A library for Perl-compatible regular expressions
|
||||||
Group: Documentation/HTML
|
Group: Documentation/HTML
|
||||||
@ -236,6 +249,12 @@ export LANG=POSIX
|
|||||||
%license LICENCE
|
%license LICENCE
|
||||||
%{_libdir}/libpcre2-posix.so.*
|
%{_libdir}/libpcre2-posix.so.*
|
||||||
|
|
||||||
|
%files -n libpcre2-posix-devel
|
||||||
|
%license LICENCE
|
||||||
|
%{_libdir}/pkgconfig/libpcre2-posix.pc
|
||||||
|
%{_libdir}/libpcre2-posix.so
|
||||||
|
%{_includedir}/pcre2posix.h
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%license LICENCE
|
%license LICENCE
|
||||||
%{_bindir}/pcre2grep
|
%{_bindir}/pcre2grep
|
||||||
@ -252,12 +271,13 @@ export LANG=POSIX
|
|||||||
%files devel
|
%files devel
|
||||||
%license LICENCE
|
%license LICENCE
|
||||||
%{_bindir}/pcre2-config
|
%{_bindir}/pcre2-config
|
||||||
%{_includedir}/*
|
%{_includedir}/pcre2.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libpcre2-16.so
|
||||||
|
%{_libdir}/libpcre2-32.so
|
||||||
|
%{_libdir}/libpcre2-8.so
|
||||||
%{_libdir}/pkgconfig/libpcre2-8.pc
|
%{_libdir}/pkgconfig/libpcre2-8.pc
|
||||||
%{_libdir}/pkgconfig/libpcre2-16.pc
|
%{_libdir}/pkgconfig/libpcre2-16.pc
|
||||||
%{_libdir}/pkgconfig/libpcre2-32.pc
|
%{_libdir}/pkgconfig/libpcre2-32.pc
|
||||||
%{_libdir}/pkgconfig/libpcre2-posix.pc
|
|
||||||
%{_mandir}/man1/pcre2-config.1%{?ext_man}
|
%{_mandir}/man1/pcre2-config.1%{?ext_man}
|
||||||
%{_mandir}/man3/*%{ext_man}
|
%{_mandir}/man3/*%{ext_man}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user