Skip to content

Commit

Permalink
Move the %_sysusersdir definition to a more logical spot
Browse files Browse the repository at this point in the history
Commit c7fd9fe introduced %_sysusersdir
into the group of global configure-related macros but that's not what
it's related to at all, it's only related to our sysusers integration
feature. Move it where it really belongs.
  • Loading branch information
pmatilai committed Aug 22, 2023
1 parent 24f974c commit 0e336e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion macros.in
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@
%_passwd_path /etc/passwd
%_group_path /etc/group

# location of sysusers.d(5) directory
%_sysusersdir @sysusersdir@

# sysusers helper binary (or a replacement script), uncomment to disable
#%__systemd_sysusers @__SYSTEMD_SYSUSERS@
%__systemd_sysusers %{_rpmconfigdir}/sysusers.sh
Expand Down Expand Up @@ -970,7 +973,6 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
%_includedir %{_prefix}/include
%_infodir %{_datadir}/info
%_mandir %{_datadir}/man
%_sysusersdir @sysusersdir@

#==============================================================================
# ---- config.guess platform macros.
Expand Down

0 comments on commit 0e336e2

Please sign in to comment.