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/m4-1-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/m4-1-1.cfg')
-rw-r--r-- | source-builder/config/m4-1-1.cfg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source-builder/config/m4-1-1.cfg b/source-builder/config/m4-1-1.cfg index ddd9a7b..3aae1f4 100644 --- a/source-builder/config/m4-1-1.cfg +++ b/source-builder/config/m4-1-1.cfg @@ -17,16 +17,16 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n) # # Source # -Source0: ftp://ftp.gnu.org/gnu/m4/m4-%{m4_version}.tar.gz +%source set m4 ftp://ftp.gnu.org/gnu/m4/m4-%{m4_version}.tar.gz # # Prepare the source code. # %prep -%setup -q -c -n %{name}-%{version} -cd m4-%{m4_version} -%{?patch0:%patch0 -p1} -cd .. + %source setup m4 -q -c -n %{name}-%{version} + cd m4-%{m4_version} + %patch setup m4 -p1 + cd .. %build export PATH="%{_bindir}:${PATH}" |