From 0bb4927aede5cc835d0bf8e84318a52fc89ec57b Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Thu, 2 Nov 2023 13:52:05 +0100 Subject: [PATCH] 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 --- macros.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.in b/macros.in index a047d1e388..a60aa233d6 100644 --- a/macros.in +++ b/macros.in @@ -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}