summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2023-03-31 11:18:55 +0300
committerPanu Matilainen <pmatilai@redhat.com>2023-03-31 11:18:55 +0300
commit1a9393f06a1de9f3864c3897674145068415e7ff (patch)
tree934d0e8e6cd8ea44da0ae61d677b90a1ad282d68
parentc397a3cec65ae17c66d473ef73f411eff02aa4ff (diff)
downloadrpm-1a9393f06a1de9f3864c3897674145068415e7ff.tar.gz
Fix docs on weak user requires macro name
The code in commit 6e03ef19a6b166d7b35ca0952e6091f557b892ca uses single underscore as intended but the macros file + docs got two due to whatever brainlapse.
-rw-r--r--docs/manual/users_and_groups.md2
-rw-r--r--macros.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/users_and_groups.md b/docs/manual/users_and_groups.md
index 8e2c3e860..92131cd23 100644
--- a/docs/manual/users_and_groups.md
+++ b/docs/manual/users_and_groups.md
@@ -28,7 +28,7 @@ on user/group from another package.
By default the dependencies are hard requirements, but as this can be
problematic when upgrading an existing distribution to rpm 4.19, it's possible
to weaken these into recommends-dependencies by setting
-`%__use_weak_usergroup_deps` macro to `1` during package builds.
+`%_use_weak_usergroup_deps` macro to `1` during package builds.
## Limitations
diff --git a/macros.in b/macros.in
index ad2d51ca4..5521daba8 100644
--- a/macros.in
+++ b/macros.in
@@ -236,7 +236,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
%clamp_mtime_to_source_date_epoch 0
# If enabled, dilute user() and group() requires into recommends
-#%__use_weak_usergroup_deps 1
+#%_use_weak_usergroup_deps 1
# The directory where newly built binary packages will be written.
%_rpmdir %{_topdir}/RPMS