Set %_sharedstatedir to %{_var}/lib

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
This commit is contained in:
Florian Festi 2023-11-02 13:52:05 +01:00 committed by Panu Matilainen
parent 17f72c4e7f
commit 7a65f68d9c
1 changed files with 1 additions and 1 deletions

View File

@ -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}