Index: rpm-4.9.1.3/macros.in
===================================================================
--- rpm-4.9.1.3.orig/macros.in	2013-02-12 15:48:36.000000000 +0100
+++ rpm-4.9.1.3/macros.in	2013-02-12 15:52:36.000000000 +0100
@@ -26,7 +26,7 @@
 #
 %_usr			@prefix@
 %_usrsrc		%{_usr}/src
-%_var			@localstatedir@
+%_var			/var%{_prefix}
 
 #==============================================================================
 # ---- Generally useful path macros.
@@ -223,7 +223,7 @@
 %_srcrpmdir		%{_topdir}/SRPMS
 
 #	The directory where buildroots will be created.
-%_buildrootdir		%{_topdir}/BUILDROOT
+%_buildrootdir		%{_tmppath}
 
 #	Build root path, where %install installs the package during build.
 %buildroot		%{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch}
@@ -368,19 +368,19 @@
 # Returns list of unpackaged files, i.e. files in $RPM_BUILD_ROOT not packaged.
 #
 # Note: Disable (by commenting out) for legacy compatibility.
-%__check_files         %{_rpmconfigdir}/check-files %{buildroot}
+#%__check_files         %{_rpmconfigdir}/check-files %{buildroot}
 
 #
 # Should unpackaged files in a build root terminate a build?
 #
 # Note: The default value should be 0 for legacy compatibility.
-%_unpackaged_files_terminate_build	1
+%_unpackaged_files_terminate_build	0
 
 #
 # Should missing %doc files in the build directory terminate a build?
 #
 # Note: The default value should be 0 for legacy compatibility.
-%_missing_doc_files_terminate_build	1
+%_missing_doc_files_terminate_build	0
 
 #
 # Should binaries in noarch packages terminate a build?
