diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2005-02-18 17:50:01 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2005-02-18 17:50:01 +0000 |
commit | 3957ad95fe375fe1264cdfb79aa4849bae04701c (patch) | |
tree | 981124f61a06c554beb5ae1de4cefcb88fad0e8f | |
parent | - Update to 2.0.3 (diff) |
. 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>
Notes
Notes:
svn path=/head/; revision=129193
-rw-r--r-- | archivers/rpm4/files/patch-macros.in | 13 | ||||
-rw-r--r-- | archivers/rpm5/files/patch-macros.in | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/archivers/rpm4/files/patch-macros.in b/archivers/rpm4/files/patch-macros.in new file mode 100644 index 000000000000..12ed6de7e6ed --- /dev/null +++ b/archivers/rpm4/files/patch-macros.in @@ -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} diff --git a/archivers/rpm5/files/patch-macros.in b/archivers/rpm5/files/patch-macros.in new file mode 100644 index 000000000000..12ed6de7e6ed --- /dev/null +++ b/archivers/rpm5/files/patch-macros.in @@ -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} |