rpm/rpm-4.14.2.1-openmamba-buildroot.patch

17 lines
633 B
Diff
Raw Normal View History

diff -Nru rpm-4.14.2.1.orig/macros.in rpm-4.14.2.1/macros.in
--- rpm-4.14.2.1.orig/macros.in 2019-07-24 09:51:46.612355870 +0200
+++ rpm-4.14.2.1/macros.in 2019-07-24 09:53:58.089565829 +0200
@@ -272,10 +272,10 @@
%_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}
+%buildroot %{_tmppath}/%{NAME}-%{VERSION}-root
# Directory where temporaray files can be created.
%_tmppath %{_var}/tmp