rpm/rpm-5.1.6-macrodirs.patch

33 lines
1.1 KiB
Diff

diff -Nru rpm-5.1.6.orig/macros.in rpm-5.1.6/macros.in
--- rpm-5.1.6.orig/macros.in 2008-10-16 13:43:54.000000000 +0200
+++ rpm-5.1.6/macros.in 2009-01-01 18:02:46.000000000 +0100
@@ -895,7 +895,7 @@
# The "transactional rollback" directory in which erased packages will
# be saved when using the --repackage option.
-%_repackage_dir %{_var}/spool/repackage
+%_repackage_dir %{_var}/tmp
# A path (i.e. URL) prefix that is pre-pended to %{_repackage_dir}.
%_repackage_root %{nil}
@@ -1296,15 +1296,15 @@
%_sbindir %{_exec_prefix}/sbin
%_libexecdir %{_exec_prefix}/libexec
%_datadir %{_prefix}/share
-%_sysconfdir %{_prefix}/etc
+%_sysconfdir /etc
%_sharedstatedir %{_prefix}/com
-%_localstatedir %{_prefix}/var
+%_localstatedir /var
%_lib lib
%_libdir %{_exec_prefix}/%{_lib}
%_includedir %{_prefix}/include
%_oldincludedir /usr/include
-%_infodir %{_prefix}/info
-%_mandir %{_prefix}/man
+%_infodir %{_datadir}/info
+%_mandir %{_datadir}/man
%_localedir %{_datadir}/locale
#==============================================================================