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. This also changes the default for the %configure
macro. This is safe as everyone that cares about the the sharedstatedir
had to set it manually anyway.

Resolves: #2092
  • Loading branch information
ffesti authored and pmatilai committed Nov 8, 2023
1 parent 17f72c4 commit 7a65f68
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 7a65f68

Please sign in to comment.