diff --git a/cross-epiphany-newlib-devel.changes b/cross-epiphany-newlib-devel.changes index d798ecd..51b1254 100644 --- a/cross-epiphany-newlib-devel.changes +++ b/cross-epiphany-newlib-devel.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Mar 11 17:44:01 UTC 2018 - afaerber@suse.de + +- Update to v3.0.0 + +------------------------------------------------------------------- +Sun Mar 11 16:50:55 UTC 2018 - afaerber@suse.de + +- Prepare for %cross_arch with dashes by consistently quoting +- Leave the choice of cross-*-binutils to cross-*-gcc* +- Update to v2.5.0 + ------------------------------------------------------------------- Wed Jan 24 09:29:00 UTC 2018 - rguenther@suse.com diff --git a/cross-epiphany-newlib-devel.spec b/cross-epiphany-newlib-devel.spec index 41c8976..61e721d 100644 --- a/cross-epiphany-newlib-devel.spec +++ b/cross-epiphany-newlib-devel.spec @@ -19,7 +19,7 @@ %define cross_arch epiphany Name: cross-%{cross_arch}-newlib-devel -Version: 2.4.0 +Version: 3.0.0 Release: 0 Summary: C library intended for use on %{cross_arch} embedded systems License: BSD-3-Clause and MIT and LGPL-2.0+ and ISC @@ -29,7 +29,6 @@ Source0: ftp://sourceware.org/pub/newlib/newlib-%{version}.tar.gz Patch1: epiphany-fixes.diff -BuildRequires: cross-%{cross_arch}-binutils BuildRequires: cross-%{cross_arch}-gcc%{gcc_version}-bootstrap %if %{suse_version} > 1220 BuildRequires: makeinfo @@ -43,10 +42,10 @@ conglomeration of several library parts, all under free software licenses that make them easily usable on embedded products. %define target %{cross_arch} -%if %{cross_arch} == "epiphany" || %{cross_arch} == "rl78" || %{cross_arch} == "rx" +%if "%{cross_arch}" == "epiphany" || "%{cross_arch}" == "rl78" || "%{cross_arch}" == "rx" %define target %{cross_arch}-elf %endif -%if %{cross_arch} == "spu" +%if "%{cross_arch}" == "spu" %define sysroot /usr/spu %else %define sysroot %{_prefix}/%{target}/sys-root @@ -61,10 +60,8 @@ mkdir build-dir cd build-dir ../configure \ --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \ - --target=%{target} --with-build-sysroot=%{sysroot} \ - CC_FOR_TARGET=%{target}-gcc-%{gcc_version} \ - CXX_FOR_TARGET=%{target}-g++-%{gcc_version} \ - GCC_FOR_TARGET=%{target}-gcc-%{gcc_version} + --target=%{target} \ + --with-build-sysroot=%{sysroot} make %{?_smp_mflags} %install diff --git a/cross-rx-newlib-devel.changes b/cross-rx-newlib-devel.changes index d798ecd..51b1254 100644 --- a/cross-rx-newlib-devel.changes +++ b/cross-rx-newlib-devel.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Mar 11 17:44:01 UTC 2018 - afaerber@suse.de + +- Update to v3.0.0 + +------------------------------------------------------------------- +Sun Mar 11 16:50:55 UTC 2018 - afaerber@suse.de + +- Prepare for %cross_arch with dashes by consistently quoting +- Leave the choice of cross-*-binutils to cross-*-gcc* +- Update to v2.5.0 + ------------------------------------------------------------------- Wed Jan 24 09:29:00 UTC 2018 - rguenther@suse.com diff --git a/cross-rx-newlib-devel.spec b/cross-rx-newlib-devel.spec index 14e48a1..8010325 100644 --- a/cross-rx-newlib-devel.spec +++ b/cross-rx-newlib-devel.spec @@ -19,7 +19,7 @@ %define cross_arch rx Name: cross-%{cross_arch}-newlib-devel -Version: 2.4.0 +Version: 3.0.0 Release: 0 Summary: C library intended for use on %{cross_arch} embedded systems License: BSD-3-Clause and MIT and LGPL-2.0+ and ISC @@ -29,7 +29,6 @@ Source0: ftp://sourceware.org/pub/newlib/newlib-%{version}.tar.gz Patch1: epiphany-fixes.diff -BuildRequires: cross-%{cross_arch}-binutils BuildRequires: cross-%{cross_arch}-gcc%{gcc_version}-bootstrap %if %{suse_version} > 1220 BuildRequires: makeinfo @@ -43,10 +42,10 @@ conglomeration of several library parts, all under free software licenses that make them easily usable on embedded products. %define target %{cross_arch} -%if %{cross_arch} == "epiphany" || %{cross_arch} == "rl78" || %{cross_arch} == "rx" +%if "%{cross_arch}" == "epiphany" || "%{cross_arch}" == "rl78" || "%{cross_arch}" == "rx" %define target %{cross_arch}-elf %endif -%if %{cross_arch} == "spu" +%if "%{cross_arch}" == "spu" %define sysroot /usr/spu %else %define sysroot %{_prefix}/%{target}/sys-root @@ -61,10 +60,8 @@ mkdir build-dir cd build-dir ../configure \ --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \ - --target=%{target} --with-build-sysroot=%{sysroot} \ - CC_FOR_TARGET=%{target}-gcc-%{gcc_version} \ - CXX_FOR_TARGET=%{target}-g++-%{gcc_version} \ - GCC_FOR_TARGET=%{target}-gcc-%{gcc_version} + --target=%{target} \ + --with-build-sysroot=%{sysroot} make %{?_smp_mflags} %install diff --git a/newlib-2.4.0.tar.gz b/newlib-2.4.0.tar.gz deleted file mode 100644 index 04d9cc6..0000000 --- a/newlib-2.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:545b3d235e350d2c61491df8b9f775b1b972f191380db8f52ec0b1c829c52706 -size 17574364 diff --git a/newlib-3.0.0.tar.gz b/newlib-3.0.0.tar.gz new file mode 100644 index 0000000..bd0cd71 --- /dev/null +++ b/newlib-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8566335ee74e5fcaeb8595b4ebd0400c4b043d6acb3263ecb1314f8f5501332 +size 18168046 diff --git a/newlib.changes b/newlib.changes index d798ecd..51b1254 100644 --- a/newlib.changes +++ b/newlib.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Mar 11 17:44:01 UTC 2018 - afaerber@suse.de + +- Update to v3.0.0 + +------------------------------------------------------------------- +Sun Mar 11 16:50:55 UTC 2018 - afaerber@suse.de + +- Prepare for %cross_arch with dashes by consistently quoting +- Leave the choice of cross-*-binutils to cross-*-gcc* +- Update to v2.5.0 + ------------------------------------------------------------------- Wed Jan 24 09:29:00 UTC 2018 - rguenther@suse.com diff --git a/newlib.spec b/newlib.spec index 47b6557..a580ec8 100644 --- a/newlib.spec +++ b/newlib.spec @@ -17,7 +17,7 @@ Name: newlib -Version: 2.4.0 +Version: 3.0.0 Release: 0 Summary: C library intended for use on embedded systems License: BSD-3-Clause and MIT and LGPL-2.0+ and ISC diff --git a/newlib.spec.in b/newlib.spec.in index dbbf321..5658307 100644 --- a/newlib.spec.in +++ b/newlib.spec.in @@ -1,6 +1,6 @@ Name: cross-%{cross_arch}-newlib-devel -Version: 2.4.0 +Version: 3.0.0 Release: 0 Summary: C library intended for use on %{cross_arch} embedded systems Group: Development/Tools @@ -10,7 +10,6 @@ Source0: ftp://sourceware.org/pub/newlib/newlib-%{version}.tar.gz Patch1: epiphany-fixes.diff -BuildRequires: cross-%{cross_arch}-binutils BuildRequires: cross-%{cross_arch}-gcc%{gcc_version}-bootstrap %if %{suse_version} > 1220 BuildRequires: makeinfo @@ -24,10 +23,10 @@ conglomeration of several library parts, all under free software licenses that make them easily usable on embedded products. %define target %{cross_arch} -%if %{cross_arch} == "epiphany" || %{cross_arch} == "rl78" || %{cross_arch} == "rx" +%if "%{cross_arch}" == "epiphany" || "%{cross_arch}" == "rl78" || "%{cross_arch}" == "rx" %define target %{cross_arch}-elf %endif -%if %{cross_arch} == "spu" +%if "%{cross_arch}" == "spu" %define sysroot /usr/spu %else %define sysroot %{_prefix}/%{target}/sys-root @@ -42,10 +41,8 @@ mkdir build-dir cd build-dir ../configure \ --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \ - --target=%{target} --with-build-sysroot=%{sysroot} \ - CC_FOR_TARGET=%{target}-gcc-%{gcc_version} \ - CXX_FOR_TARGET=%{target}-g++-%{gcc_version} \ - GCC_FOR_TARGET=%{target}-gcc-%{gcc_version} + --target=%{target} \ + --with-build-sysroot=%{sysroot} make %{?_smp_mflags} %install