aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--macros.in3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cb35cbb..b008f5f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- macros: define _use_weak_usergroup_deps to only add user() and group() requires as recommends
+
Version 2.71 - 15 January 2023, by Jani Välimaa
- brp-mangle-shebangs: also mangle shebangs of JavaScript executables (rhbz#1998924)
- macros: drop unused %_sys_macros_dir and %build_sysmacrospath()
diff --git a/macros.in b/macros.in
index 083ac48..094d5c0 100644
--- a/macros.in
+++ b/macros.in
@@ -512,6 +512,9 @@ fi
# Should missing buildids terminate a build?
%_missing_build_ids_terminate_build 1
+# If enabled, dilute user() and group() requires into recommends
+%_use_weak_usergroup_deps 1
+
# Use SHA-256 for FILEDIGESTS instead of default MD5
%_source_filedigest_algorithm 8
%_binary_filedigest_algorithm 8