d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect Debian Policy...
authorMichael R. Crusoe <crusoe@debian.org>
Fri, 29 Nov 2024 10:08:50 +0000 (11:08 +0100)
committerMichael R. Crusoe <crusoe@debian.org>
Fri, 29 Nov 2024 10:08:50 +0000 (11:08 +0100)
debian/changelog
debian/rules

index ba0c9ca2c200ae081fe42b815bb8d4ddd4572db1..3608c9936016200a1f888b1991c72e69803d3a7d 100644 (file)
@@ -1,3 +1,11 @@
+solvespace (3.1+ds1-4) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect
+    Debian Policy 4.9.1.
+
+ -- Michael R. Crusoe <crusoe@debian.org>  Fri, 29 Nov 2024 11:08:31 +0100
+
 solvespace (3.1+ds1-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
index be9e87bd7452e75dba982984bf720cfe6527f77f..eb11e9ec2249203b3242465bd33e0b93e75cda2b 100755 (executable)
@@ -31,6 +31,6 @@ override_dh_auto_configure:
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 ifeq (amd64,$(DEB_HOST_ARCH))
-       cd obj-* && $(MAKE) -j$(nproc) test_solvespace
+       cd obj-* && $(MAKE) $(DEB_BUILD_OPTION_PARALLEL:%=-j%) test_solvespace
 endif
 endif