. 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>
This commit is contained in:
Greg Lewis 2005-02-18 17:50:01 +00:00
parent 317d4d09d2
commit 3957ad95fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129193
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,13 @@
$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}

View file

@ -0,0 +1,13 @@
$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}