Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package votca for openSUSE:Factory checked 
in at 2022-12-08 16:51:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/votca (Old)
 and      /work/SRC/openSUSE:Factory/.votca.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "votca"

Thu Dec  8 16:51:59 2022 rev:4 rq:1041289 version:2022

Changes:
--------
--- /work/SRC/openSUSE:Factory/votca/votca.changes      2022-07-29 
16:48:18.646721435 +0200
+++ /work/SRC/openSUSE:Factory/.votca.new.1835/votca.changes    2022-12-08 
16:52:07.619772325 +0100
@@ -1,0 +2,7 @@
+Wed Dec  7 06:21:38 UTC 2022 - Stefan Brüns <[email protected]>
+
+- Adjust constraints to avoid rejecting too many workers, enable
+  parallel builds with limit_build.
+- Clean up specfile, remove obsolete __DATE__ mangling.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ votca.spec ++++++
--- /var/tmp/diff_new_pack.uF3wLI/_old  2022-12-08 16:52:08.451776592 +0100
+++ /var/tmp/diff_new_pack.uF3wLI/_new  2022-12-08 16:52:08.451776592 +0100
@@ -25,11 +25,9 @@
 Summary:        Versatile Object-oriented Toolkit for Coarse-graining 
Applications
 License:        Apache-2.0
 Group:          Productivity/Scientific/Chemistry
-URL:            http://www.votca.org
+URL:            https://www.votca.org
 Source0:        
https://github.com/votca/votca/archive/v%{uversion}.tar.gz#/%{name}-%{uversion}.tar.gz
 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
 BuildRequires:  cmake >= 3.13
 BuildRequires:  eigen3-devel
 BuildRequires:  fdupes
@@ -51,6 +49,7 @@
 BuildRequires:  libexpat-devel
 BuildRequires:  libint-devel
 BuildRequires:  libxc-devel
+BuildRequires:  memory-constraints
 BuildRequires:  openmpi-macros-devel
 BuildRequires:  pkg-config
 BuildRequires:  procps
@@ -173,16 +172,11 @@
 %prep
 %setup -n %{name}-%{uversion} -q
 
-# Avoid unnecessary rebuilds of the package
-FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
-FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes 
'+%%H:%%M:%%S')
-sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e 
"s/__TIME__/\"$FAKE_BUILDTIME\"/" tools/src/libtools/version.cc 
csg/src/libcsg/version.cc xtp/src/libxtp/version.cc
-
 %build
 %setup_openmpi
 
 # save some memory
-%define _smp_mflags -j1
+%limit_build -m 2400
 %{cmake} -DINSTALL_RC_FILES=OFF -DCMAKE_SKIP_RPATH=OFF -DENABLE_TESTING=ON 
-DENABLE_REGRESSION_TESTING=ON \
          -DINJECT_MARCH_NATIVE=OFF -DBUILD_CSGAPPS=ON \
          -DBUILD_XTP=%{with_xtp} \

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.uF3wLI/_old  2022-12-08 16:52:08.491776798 +0100
+++ /var/tmp/diff_new_pack.uF3wLI/_new  2022-12-08 16:52:08.491776798 +0100
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <constraints>
   <hardware>
-    <physicalmemory>
-      <size unit="G">4</size>
-    </physicalmemory>
+    <memory>
+      <size unit="G">6</size>
+    </memory>
     <memoryperjob>
-      <size unit="M">2000</size>
+      <size unit="M">1000</size>
     </memoryperjob>
   </hardware>
   <sandbox>kvm</sandbox>

Reply via email to