From 17b988d40896ad27114043e317b5a97322e70321 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 12 Jan 2012 22:13:54 +0000 Subject: [PATCH] %_sharedstatedir: change to /var/lib The old value (/usr/com) was pure nonsense. Suggested-by: Alexey Gladkov --- doc/manual/macros | 4 ++-- macros.in | 2 +- platform.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/manual/macros b/doc/manual/macros index 8f234c2..9c6242d 100644 --- a/doc/manual/macros +++ b/doc/manual/macros @@ -246,8 +246,8 @@ packaging similar to the autoconf variables that are used in building packages: %_libexecdir %{_exec_prefix}/libexec %_datadir %{_prefix}/share %_sysconfdir %{_prefix}/etc - %_sharedstatedir %{_prefix}/com - %_localstatedir %{_prefix}/var + %_sharedstatedir /var/lib + %_localstatedir /var/lib %_libdir %{_exec_prefix}/lib %_includedir %{_prefix}/include %_oldincludedir /usr/include diff --git a/macros.in b/macros.in index 22a9dc6..879413f 100644 --- a/macros.in +++ b/macros.in @@ -748,7 +748,7 @@ %_libexecdir %{_exec_prefix}/lib %_datadir %{_prefix}/share %_sysconfdir /etc -%_sharedstatedir %{_prefix}/com +%_sharedstatedir %{_var}/lib %_localstatedir %{_var}/lib %_lib lib %_libdir %{_exec_prefix}/%{_lib} diff --git a/platform.in b/platform.in index 7d69156..ea6701c 100644 --- a/platform.in +++ b/platform.in @@ -21,7 +21,7 @@ %_libexecdir @libexecdir@ %_datadir @datadir@ %_sysconfdir @sysconfdir@ -%_sharedstatedir @sharedstatedir@ +%_sharedstatedir %{_var}/lib %_localstatedir @localstatedir@ %_lib @LIB@ %_libdir @prefix@/@LIB@