Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package utfcpp for openSUSE:Factory checked 
in at 2022-05-16 18:08:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/utfcpp (Old)
 and      /work/SRC/openSUSE:Factory/.utfcpp.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "utfcpp"

Mon May 16 18:08:42 2022 rev:6 rq:977486 version:3.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/utfcpp/utfcpp.changes    2021-07-21 
19:08:07.647473690 +0200
+++ /work/SRC/openSUSE:Factory/.utfcpp.new.1538/utfcpp.changes  2022-05-16 
18:11:12.205406332 +0200
@@ -1,0 +2,7 @@
+Wed Oct 20 17:57:48 UTC 2021 - Fridrich Strba <fst...@suse.com>
+
+- Added patch:
+  * no-cpp17-tests.patch
+    + do not run cpp17 tests when building on SLE12
+
+-------------------------------------------------------------------

New:
----
  no-cpp17-tests.patch

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

Other differences:
------------------
++++++ utfcpp.spec ++++++
--- /var/tmp/diff_new_pack.o4uC2R/_old  2022-05-16 18:11:12.609406653 +0200
+++ /var/tmp/diff_new_pack.o4uC2R/_new  2022-05-16 18:11:12.613406657 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package utfcpp
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,8 @@
 License:        BSL-1.0
 URL:            https://github.com/nemtrif/utfcpp
 Source:         %{name}-%{version}.tar.xz
-BuildRequires:  cmake >= 3.8
+Patch0:         no-cpp17-tests.patch
+BuildRequires:  cmake >= 3.5
 BuildRequires:  gcc-c++
 
 %description
@@ -36,7 +37,10 @@
 A C++ library for handling UTF-8 encoded strings.
 
 %prep
-%autosetup -p1
+%setup -q
+%if 0%{?suse_version} < 1320
+%patch0 -p1
+%endif
 
 %build
 %cmake

++++++ no-cpp17-tests.patch ++++++
diff -urEbwB utfcpp-3.2.1/tests/CMakeLists.txt 
utfcpp-3.2.1.new/tests/CMakeLists.txt
--- utfcpp-3.2.1/tests/CMakeLists.txt   2021-06-06 17:09:04.000000000 +0200
+++ utfcpp-3.2.1.new/tests/CMakeLists.txt       2021-07-27 23:56:21.956315062 
+0200
@@ -1,6 +1,5 @@
 add_executable(negative ${PROJECT_SOURCE_DIR}/tests/negative.cpp)
 add_executable(cpp11 ${PROJECT_SOURCE_DIR}/tests/test_cpp11.cpp)
-add_executable(cpp17 ${PROJECT_SOURCE_DIR}/tests/test_cpp17.cpp)
 add_executable(apitests
     ${PROJECT_SOURCE_DIR}/tests/test_checked_api.cpp
     ${PROJECT_SOURCE_DIR}/tests/test_unchecked_api.cpp
@@ -15,7 +14,6 @@
 
 target_link_libraries(negative PRIVATE utf8::cpp)
 target_link_libraries(cpp11 PRIVATE utf8::cpp)
-target_link_libraries(cpp17 PRIVATE utf8::cpp)
 target_link_libraries(apitests PRIVATE utf8::cpp)
 target_link_libraries(noexceptionstests PRIVATE utf8::cpp)
 
@@ -33,15 +31,8 @@
                       CXX_STANDARD_REQUIRED YES
                       CXX_EXTENSIONS NO)
 
-set_target_properties(cpp17
-                      PROPERTIES
-                      CXX_STANDARD 17
-                      CXX_STANDARD_REQUIRED YES
-                      CXX_EXTENSIONS NO)
-
 add_test(negative_test negative 
${PROJECT_SOURCE_DIR}/tests/test_data/utf8_invalid.txt)
 add_test(cpp11_test cpp11)
-add_test(cpp17_test cpp17)
 add_test(api_test apitests)
 add_test(noexceptions_test noexceptionstests)
 

Reply via email to