[packages/libphonenumber] skip unresolved symbols check

atler atler at pld-linux.org
Mon Sep 22 19:07:17 CEST 2025


commit 5c4bc2db69172485642ad376e2e8b2ad07550939
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Sep 22 19:02:44 2025 +0200

    skip unresolved symbols check
    
    new protobuf comes with thread-local storage variable
    google::protobuf::internal::ThreadSafeArena::thread_cache_ which fails
    our primitive unresolved symbols check (which happens to support only
    functions)

 libphonenumber.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/libphonenumber.spec b/libphonenumber.spec
index 7d9fc1f..9020e57 100644
--- a/libphonenumber.spec
+++ b/libphonenumber.spec
@@ -34,6 +34,9 @@ BuildRequires:	protobuf-devel >= 2.4
 BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# avoid false postive for tls var coming from protobuf
+%define		skip_post_check_so	libphonenumber.so.*
+
 %description
 Google's common C++ library for parsing, formatting, storing and
 validating international phone numbers.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libphonenumber.git/commitdiff/5c4bc2db69172485642ad376e2e8b2ad07550939



More information about the pld-cvs-commit mailing list