Skip to content

Commit

Permalink
Set %_sharedstatedir to %{_var}/lib
Browse files Browse the repository at this point in the history
Configure traditionally sets it to %{_prefix}/com which RPM has followed
so far. But this directory is not used anywhere and everybody changes
the location to /var/lib. As we are only changing the macro and not the
configure default this should be relatively save to do.

Resolves: rpm-software-management#2092
  • Loading branch information
ffesti committed Nov 2, 2023
1 parent 302793a commit 0bb4927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros.in
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
%_libexecdir %{_exec_prefix}/libexec
%_datadir %{_prefix}/share
%_sysconfdir /etc
%_sharedstatedir %{_prefix}/com
%_sharedstatedir %{_var}/lib
%_localstatedir %{_prefix}/var
%_lib lib
%_libdir %{_exec_prefix}/%{_lib}
Expand Down

0 comments on commit 0bb4927

Please sign in to comment.