Skip to content

Commit 0bb4927

Browse files
committed
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. As we are only changing the macro and not the configure default this should be relatively save to do. Resolves: #2092
1 parent 302793a commit 0bb4927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ Supplements: (%{name} = %{version}-%{release} and langpacks-%{1})\
966966
%_libexecdir %{_exec_prefix}/libexec
967967
%_datadir %{_prefix}/share
968968
%_sysconfdir /etc
969-
%_sharedstatedir %{_prefix}/com
969+
%_sharedstatedir %{_var}/lib
970970
%_localstatedir %{_prefix}/var
971971
%_lib lib
972972
%_libdir %{_exec_prefix}/%{_lib}

0 commit comments

Comments
 (0)