Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gn for openSUSE:Factory checked in at 2021-09-04 22:32:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gn (Old) and /work/SRC/openSUSE:Factory/.gn.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gn" Sat Sep 4 22:32:00 2021 rev:11 rq:915527 version:0.20210811 Changes: -------- --- /work/SRC/openSUSE:Factory/gn/gn.changes 2020-11-06 23:43:32.539443192 +0100 +++ /work/SRC/openSUSE:Factory/.gn.new.1899/gn.changes 2021-09-04 22:32:09.595897489 +0200 @@ -1,0 +2,19 @@ +Wed Sep 01 08:59:31 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Update to version 0.20210811: + * C++ modernization improvements. + * Minor style updates. + * Enable GN to build & run on z/OS + * Fix a typo in the doc of "generated_file" + * Update doc/help to say --ninja-executable works for VS Flags + * [rust] Fix and test dylib support + * Add 'rustenv' to 'gn desc' output + * [rust] Clean up logic in PullDependentTargetLibsFrom + * Link Rust binaries against transitive public_deps + * Fix linking dynamic libraries in Rust binaries +- Remove patches: + * gn-flags.patch + * gn-always-python3.patch + * riscv.patch + +------------------------------------------------------------------- Old: ---- gn-0.1807.tar.xz gn-always-python3.patch gn-flags.patch riscv.patch New: ---- _service _servicedata gn-0.20210811.obscpio gn.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gn.spec ++++++ --- /var/tmp/diff_new_pack.xe2AlE/_old 2021-09-04 22:32:10.175898256 +0200 +++ /var/tmp/diff_new_pack.xe2AlE/_new 2021-09-04 22:32:10.179898262 +0200 @@ -1,7 +1,7 @@ # # spec file for package gn # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,47 +15,39 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - Name: gn -Version: 0.1807 +Version: 0.20210811 Release: 0 Summary: A meta-build system that generates build files for Ninja License: BSD-3-Clause URL: https://gn.googlesource.com/ -Source: https://dev.gentoo.org/~floppym/dist/%{name}-%{version}.tar.xz -Patch0: gn-flags.patch -Patch1: gn-always-python3.patch -Patch2: riscv.patch -BuildRequires: gcc-c++ +Source0: %{name}-%{version}.tar.xz +BuildRequires: clang +BuildRequires: libstdc++-devel +BuildRequires: lld +BuildRequires: llvm BuildRequires: ninja BuildRequires: python3-base -%if 0%{?suse_version} < 1500 -BuildRequires: gcc7-c++ -%endif %description GN is a meta-build system that generates build files for Ninja. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autosetup %build -export CC=gcc -export CXX=g++ -export AR=ar -%if 0%{?suse_version} < 1500 -export CC=gcc-7 -export CXX=g++-7 -%endif -export CXXFLAGS="%{optflags}" +%define _lto_cflags %{nil} +ARCH_FLAGS="`echo %{optflags} | sed -e 's/-O2//g'`" +export CXX=clang++ +export AR=llvm-ar +export CXXFLAGS="${ARCH_FLAGS} -fPIE" +export LDFLAGS="-fuse-ld=lld -Wl,--build-id=sha1 -pie" # bootstrap python3 build/gen.py \ --no-strip \ --no-last-commit-position \ - --no-static-libstdc++ + --no-static-libstdc++ \ + --use-lto PV=%{version} cat >out/last_commit_position.h <<-EOF #ifndef OUT_LAST_COMMIT_POSITION_H_ ++++++ _service ++++++ <services> <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://gn.googlesource.com/gn.git</param> <param name="revision">69ec4fca1fa69ddadae13f9e6b7507efa0675263</param> <param name="versionformat">0.%cd</param> <param name="changesgenerate">enable</param> </service> <service name="tar" mode="buildtime"/> <service name="recompress" mode="buildtime"> <param name="compression">xz</param> <param name="file">*.tar</param> </service> <service name="set_version" mode="manual"/> </services>++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://gn.googlesource.com/gn.git</param> <param name="changesrevision">69ec4fca1fa69ddadae13f9e6b7507efa0675263</param></service></servicedata>++++++ gn.obsinfo ++++++ name: gn version: 0.20210811 mtime: 1628713047 commit: 69ec4fca1fa69ddadae13f9e6b7507efa0675263