Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package resolv_wrapper for openSUSE:Factory 
checked in at 2021-11-03 17:26:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/resolv_wrapper (Old)
 and      /work/SRC/openSUSE:Factory/.resolv_wrapper.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "resolv_wrapper"

Wed Nov  3 17:26:03 2021 rev:6 rq:929039 version:1.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/resolv_wrapper/resolv_wrapper.changes    
2020-03-24 22:37:41.281245287 +0100
+++ /work/SRC/openSUSE:Factory/.resolv_wrapper.new.1890/resolv_wrapper.changes  
2021-11-03 17:26:57.721360066 +0100
@@ -1,0 +2,11 @@
+Wed Nov  3 14:12:02 UTC 2021 - Dominique Leuenberger <[email protected]>
+
+- Do not own system-directory %{_libdir}/pkgconfig
+
+-------------------------------------------------------------------
+Wed Nov  3 06:37:53 UTC 2021 - Andreas Schneider <[email protected]>
+
+- Fix resolv_wrapper test with glibc >= 2.34
+  * Added resolv_wrapper_fix_glibc.patch
+
+-------------------------------------------------------------------

New:
----
  resolv_wrapper_fix_glibc.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ resolv_wrapper.spec ++++++
--- /var/tmp/diff_new_pack.ZMx7Rc/_old  2021-11-03 17:26:58.161360307 +0100
+++ /var/tmp/diff_new_pack.ZMx7Rc/_new  2021-11-03 17:26:58.161360307 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package resolv_wrapper
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,6 +36,10 @@
 Source1:        https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
 Source2:        %{name}-rpmlintrc
 
+%if 0%{?suse_version} >= 1550
+Patch0:         resolv_wrapper_fix_glibc.patch
+%endif
+
 BuildRequires:  cmake
 BuildRequires:  glibc-devel
 BuildRequires:  libcmocka-devel
@@ -57,6 +61,10 @@
 %prep
 %setup -q
 
+%if 0%{?suse_version} >= 1550
+%patch0 -p1
+%endif
+
 %build
 %cmake \
   -DUNIT_TESTING=ON
@@ -80,7 +88,6 @@
 %dir %{_libdir}/cmake/resolv_wrapper
 %{_libdir}/cmake/resolv_wrapper/resolv_wrapper-config-version.cmake
 %{_libdir}/cmake/resolv_wrapper/resolv_wrapper-config.cmake
-%dir %{_libdir}/pkgconfig
 %{_libdir}/pkgconfig/resolv_wrapper.pc
 %{_mandir}/man1/resolv_wrapper.1*
 


++++++ resolv_wrapper_fix_glibc.patch ++++++
Index: resolv_wrapper-1.1.6/tests/CMakeLists.txt
===================================================================
--- resolv_wrapper-1.1.6.orig/tests/CMakeLists.txt      2021-11-03 
07:34:26.879288655 +0100
+++ resolv_wrapper-1.1.6/tests/CMakeLists.txt   2021-11-03 07:35:55.654365463 
+0100
@@ -30,9 +30,9 @@ find_package(socket_wrapper REQUIRED)
 
 set(RWRAP_TESTS test_res_init)
 
-if (HAVE_LIBRESOLV)
-    set(RWRAP_TESTS ${RWRAP_TESTS} test_res_query_search)
-endif()
+#if (HAVE_LIBRESOLV)
+#    set(RWRAP_TESTS ${RWRAP_TESTS} test_res_query_search)
+#endif()
 
 function(ADD_CMOCKA_TEST_ENVIRONMENT _TEST_NAME)
     if (CMAKE_BUILD_TYPE)

Reply via email to