diff options
author | Chris Johns <chrisj@rtems.org> | 2014-05-13 23:26:09 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-05-13 23:26:09 +1000 |
commit | 9a15c40e1b2ac56a678e79519e1e78160009af92 (patch) | |
tree | 308f3f407a06c4073612b813d4d40ed0c5c5c60e /source-builder/config/libtool-2-1.cfg | |
parent | 4.11/rtems-lm32: Use gcc-4.9.0 and fix gdb simulator build on Windows. (diff) | |
download | rtems-source-builder-9a15c40e1b2ac56a678e79519e1e78160009af92.tar.bz2 |
sb: Implement %source and %patch to manage source and patches.
Remove the numbered source and patches and automatically manage
sources and patches. This removes the overhead in maintaining large
collections of patches.
Diffstat (limited to 'source-builder/config/libtool-2-1.cfg')
-rw-r--r-- | source-builder/config/libtool-2-1.cfg | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source-builder/config/libtool-2-1.cfg b/source-builder/config/libtool-2-1.cfg index e69493b..9b5a236 100644 --- a/source-builder/config/libtool-2-1.cfg +++ b/source-builder/config/libtool-2-1.cfg @@ -21,8 +21,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n) # # Source # -Source0: ftp://ftp.gnu.org/gnu/libtool/libtool-%{libtool_version}.tar.gz -VersionControl0: git clone git://git.sv.gnu.org/libtool +%source set libtool ftp://ftp.gnu.org/gnu/libtool/libtool-%{libtool_version}.tar.gz # # Prepare the source code. @@ -30,8 +29,8 @@ VersionControl0: git clone git://git.sv.gnu.org/libtool %prep build_top=$(pwd) - %setup -q -n libtool-%{libtool_version} - %{?patch0:%patch0 -p1} + %source setup libtool -q -n libtool-%{libtool_version} + %patch setup libtool -p1 cd ${build_top} |