Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package arpack-ng for openSUSE:Factory 
checked in at 2021-10-04 18:39:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arpack-ng (Old)
 and      /work/SRC/openSUSE:Factory/.arpack-ng.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arpack-ng"

Mon Oct  4 18:39:42 2021 rev:21 rq:922665 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/arpack-ng/arpack-ng.changes      2021-09-30 
23:45:14.392596094 +0200
+++ /work/SRC/openSUSE:Factory/.arpack-ng.new.2443/arpack-ng.changes    
2021-10-04 18:40:51.698144917 +0200
@@ -1,0 +2,9 @@
+Thu Sep 30 13:11:51 UTC 2021 - Stefan Br??ns <[email protected]>
+
+- Reduce memory requirements/constraints:
+  * Only apply to serial multibuild flavor, where pyarpack is built
+  * Build arpackmm and pyarpack sequentially
+  * Use memory instead of physicalmemory
+- Fix pkgconfig files, add Use-CMAKE_INSTALL_FULL_-dir.patch
+
+-------------------------------------------------------------------

New:
----
  Use-CMAKE_INSTALL_FULL_-dir.patch

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

Other differences:
------------------
++++++ arpack-ng.spec ++++++
--- /var/tmp/diff_new_pack.o2sJlz/_old  2021-10-04 18:40:52.290145878 +0200
+++ /var/tmp/diff_new_pack.o2sJlz/_new  2021-10-04 18:40:52.294145885 +0200
@@ -115,6 +115,8 @@
 Source0:        
https://github.com/opencollab/arpack-ng/archive/%{version}.tar.gz#/arpack-ng-%{version}.tar.gz
 # PATCH-FEATURE-OPENSUSE arpack-ng-python-module-installdir.patch 
[email protected] -- Install python module to standard python sitearch 
instead of libdir
 Patch0:         arpack-ng-python-module-installdir.patch
+# PATCH-FIX-UPSTREAM -- Fix mixup of relative and absolute libdir in pkgconfig 
files
+Patch1:         Use-CMAKE_INSTALL_FULL_-dir.patch
 %if %{with mpi}
 BuildRequires:  %{mpi_family}%{?mpi_ext}-devel
 %endif
@@ -221,6 +223,15 @@
   -DCMAKE_CXX_COMPILER_VERSION=$(gcc -dumpfullversion) \
   -DMPI:BOOL=%{?with_mpi:ON}%{!?with_mpi:OFF} \
   -DPYTHON3:BOOL=%{?with_pyarpack:ON}%{!?with_pyarpack:OFF}
+
+%if %{with pyarpack}
+# Build pyarpack in a multiple steps, as arpackmm and
+# pyarpack need a considerable amount of memory
+%cmake_build arpack
+%cmake_build arpackmm
+%cmake_build pyarpack
+%endif
+# Make sure all (remaining) targets are build
 %cmake_build
 
 %install

++++++ Use-CMAKE_INSTALL_FULL_-dir.patch ++++++
>From 47fc83cb371a9cc8a8c058097de5e0298cd548f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= <[email protected]>
Date: Sat, 27 Mar 2021 09:29:22 +0100
Subject: [PATCH] [BUG FIX] Use CMAKE_INSTALL_FULL_<dir> in arpack.pc (#301)

CMAKE_INSTALL_<dir> cannot be assumed to be relative to CMAKE_INSTALL_PREFIX.
See 
https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path.
---
 CHANGES        | 3 ++-
 CMakeLists.txt | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e0bda0b3..c9d23f45 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -681,8 +681,8 @@ include(GNUInstallDirs)
 # Convert variable names to those expected by the .pc file.
 set(prefix ${CMAKE_INSTALL_PREFIX})
 set(exec_prefix \${prefix})
-set(libdir \${exec_prefix}/${CMAKE_INSTALL_LIBDIR})
-set(includedir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR})
+set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
+set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
 set(PACKAGE_NAME ${PROJECT_NAME})
 set(PACKAGE_VERSION ${arpack_ng_VERSION})
 set(PACKAGE_URL "https://github.com/opencollab/arpack-ng/";)
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.o2sJlz/_old  2021-10-04 18:40:52.334145950 +0200
+++ /var/tmp/diff_new_pack.o2sJlz/_new  2021-10-04 18:40:52.334145950 +0200
@@ -6,14 +6,15 @@
       <arch>x86_64</arch>
       <arch>aarch64</arch>
       <arch>riscv64</arch>
+      <package>arpack-ng:serial</package>
     </conditions>
     <hardware>
       <disk>
         <size unit="G">3</size>
       </disk>
-      <physicalmemory>
-        <size unit="G">14</size>
-      </physicalmemory>
+      <memory>
+        <size unit="G">9</size>
+      </memory>
     </hardware>
   </overwrite>
 </constraints>

Reply via email to