Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package newlib for openSUSE:Factory checked in at 2021-07-16 00:00:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/newlib (Old) and /work/SRC/openSUSE:Factory/.newlib.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "newlib" Fri Jul 16 00:00:36 2021 rev:11 rq:906419 version:4.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/newlib/newlib.changes 2021-03-10 08:58:18.458954156 +0100 +++ /work/SRC/openSUSE:Factory/.newlib.new.2625/newlib.changes 2021-07-16 00:03:05.048416504 +0200 @@ -1,0 +2,5 @@ +Wed Jun 9 20:13:14 UTC 2021 - Dirk M??ller <[email protected]> + +- disable all but the arm dependencies for ring + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ newlib.spec ++++++ --- /var/tmp/diff_new_pack.0EuXGW/_old 2021-07-16 00:03:05.532412625 +0200 +++ /var/tmp/diff_new_pack.0EuXGW/_new 2021-07-16 00:03:05.536412593 +0200 @@ -1,5 +1,5 @@ # -# spec file for package newlib +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -23,7 +23,6 @@ %define cross_arch %{flavor} %define pname cross-%{cross_arch}-newlib-devel %endif - %if "%{flavor}" == "riscv64" %define gcc_cross_arch %{cross_arch}-elf %define target %{cross_arch}-elf @@ -31,7 +30,6 @@ %define gcc_cross_arch %{cross_arch} %define target %{cross_arch} %endif - %if "%{cross_arch}" == "epiphany" || "%{cross_arch}" == "riscv32" || "%{cross_arch}" == "rl78" || "%{cross_arch}" == "rx" %define target %{cross_arch}-elf %endif @@ -39,11 +37,12 @@ %define target %{cross_arch}-eabi %endif %if "%{cross_arch}" == "spu" -%define sysroot /usr/spu +%define sysroot %{_prefix}/spu %else %define sysroot %{_prefix}/%{target}/sys-root %endif - +# In the staging/ring projects, we don't want to build the unneeded packages +%bcond_with ringdisabled Name: %{pname} Version: 4.1.0 Release: 0 @@ -53,12 +52,14 @@ URL: https://sourceware.org/newlib/ Source0: ftp://sourceware.org/pub/newlib/newlib-%{version}.tar.gz Patch1: epiphany-fixes.diff - %if "%{flavor}" == "" BuildArch: noarch %else BuildRequires: cross-%{gcc_cross_arch}-gcc%{gcc_version}-bootstrap BuildRequires: fdupes +%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled} +ExclusiveArch: do-not-build +%endif %endif %description @@ -80,7 +81,7 @@ --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} \ --target=%{target} \ --with-build-sysroot=%{sysroot} -%ifarch %ix86 +%ifarch %{ix86} %if 0 --with-newlib \ %endif @@ -101,7 +102,7 @@ : >debugsources.list cd build-dir -make install DESTDIR=%{buildroot} +%make_install %fdupes %{buildroot} %endif
