Script 'mail_helper' called by obssrc
Hello community,

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

Package is "mingw32-filesystem"

Sun Mar 19 00:32:06 2023 rev:24 rq:1072801 version:20230309

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw32-filesystem/mingw32-filesystem.changes    
2023-03-16 22:57:49.147305974 +0100
+++ 
/work/SRC/openSUSE:Factory/.mingw32-filesystem.new.31432/mingw32-filesystem.changes
 2023-03-19 00:32:58.656774152 +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 mingw32-zlib
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ macros.mingw32-cmake ++++++
--- /var/tmp/diff_new_pack.0xnlSC/_old  2023-03-19 00:33:00.516782975 +0100
+++ /var/tmp/diff_new_pack.0xnlSC/_new  2023-03-19 00:33:00.520782994 +0100
@@ -7,9 +7,10 @@
 
 %_mingw32_cmake %{_mingw32_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,12 @@
    echo "Deprecated %%__mingw32_cmake macro used, please use %%_mingw32_cmake" 
\
    %{_mingw32_cmake}
 
-%_mingw32_cmake_build %cmake_build
+%_mingw32_cmake_build %cmake_build -C %__builddir
 
 %_mingw32_cmake_install %{_mingw32_env}; \
     %cmake_install
 
 %_mingw32_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