freebsd-ports/archivers/rpm4/files/patch-macros.in
Greg Lewis 3957ad95fe . Change the default path to search for the source when building an RPM
to be ${LOCALBASE}/src/portbld, which is created by the port during
  installation.  Don't use ${LOCALBASE}/src/redhat as the default as
  its not created by the port by default and is inappropriate for
  FreeBSD.

  Its quite likely ${LOCALBASE}/src/rpm is a better choice, but that
  requires more work than I have time for right now.

Submitted by:	Roman Neuhauser <neuhauser@chello.cz>
2005-02-18 17:50:01 +00:00

13 lines
328 B
Text

$FreeBSD$
--- macros.in.orig Tue Feb 15 16:35:27 2005
+++ macros.in Tue Feb 15 16:36:14 2005
@@ -163,7 +163,7 @@
%_tmppath %{_var}/tmp
# Path to top of build area.
-%_topdir %{_usrsrc}/redhat
+%_topdir %{_usrsrc}/%{_vendor}
# The path to the unzip executable (legacy, use %{__unzip} instead).
%_unzipbin %{__unzip}