Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mingw64-filesystem for 
openSUSE:Factory checked in at 2023-03-19 00:32:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw64-filesystem (Old)
 and      /work/SRC/openSUSE:Factory/.mingw64-filesystem.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mingw64-filesystem"

Sun Mar 19 00:32:09 2023 rev:24 rq:1072800 version:20230309

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw64-filesystem/mingw64-filesystem.changes    
2023-03-16 22:57:50.751313744 +0100
+++ 
/work/SRC/openSUSE:Factory/.mingw64-filesystem.new.31432/mingw64-filesystem.changes
 2023-03-19 00:33:02.212791021 +0100
@@ -1,0 +2,7 @@
+Fri Mar 17 08:54:56 UTC 2023 - Ralf Habacker <[email protected]>
+
+- In cmake macros, avoid changing the current directory
+  to avoid build errors in packages that use multiple
+  build systems such as mingw64-zlib
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ macros.mingw64-cmake ++++++
--- /var/tmp/diff_new_pack.clwVhC/_old  2023-03-19 00:33:02.868794132 +0100
+++ /var/tmp/diff_new_pack.clwVhC/_new  2023-03-19 00:33:02.872794152 +0100
@@ -7,9 +7,10 @@
 
 %_mingw64_cmake %{_mingw64_env} ; \
     mkdir -p %__builddir \
-    cd %__builddir \
-    %__cmake $OLDPWD/%__sourcedir \\\
+    %__cmake \\\
          %__cmake_generator \\\
+        -S %__sourcedir \\\
+        -B %__builddir \\\
         -DCMAKE_SYSTEM_NAME="Windows" \\\
         -DCMAKE_VERBOSE_MAKEFILE=ON \\\
         -DCMAKE_BUILD_TYPE="RelWithDebInfo" \\\
@@ -35,15 +36,13 @@
    echo "Deprecated %%__mingw64_cmake macro used, please use %%_mingw64_cmake" 
\
    %{_mingw64_cmake}
 
-%_mingw64_cmake_build %cmake_build
+%_mingw64_cmake_build %cmake_build -C %__builddir
 
 %_mingw64_cmake_install %{_mingw64_env}; \
     %cmake_install
 
 %_mingw64_ctest(:-:) \
-    cd %__builddir \
-    %__ctest --output-on-failure --force-new-ctest-process %{?_smp_mflags} %** 
\
-    cd $OLDPWD
+    %__ctest --test-dir %__builddir --output-on-failure 
--force-new-ctest-process %{?_smp_mflags} %**
  
 (No newline at EOF)
 

Reply via email to