diff --git a/gn.spec b/gn.spec index 6be051e..d416d16 100644 --- a/gn.spec +++ b/gn.spec @@ -47,7 +47,7 @@ Source1: last_commit_position.h Source2: update-version # Stop overriding optimization flags -Patch0: gn-0153d369-no-O3.patch +Patch: gn-0153d369-no-O3.patch BuildRequires: python3-devel BuildRequires: ninja-build @@ -69,6 +69,19 @@ Provides: vim-gn = %{version}-%{release} Requires: emacs-filesystem >= %{_emacs_version} Provides: emacs-gn = %{version}-%{release} +# src/base/third_party/icu/icu_utf.h: +# +# This file has the relevant components from ICU copied to handle basic +# UTF8/16/32 conversions. Components are copied from umachine.h, utf.h, +# utf8.h, and utf16.h into icu_utf.h. +# +# The forked, bundled ICU components are copied from Chromium. Because of the +# downstream changes (primarily, changing namespaces and symbol prefixes), +# there is no clear path to unbundling. +# +# See src/base/third_party/icu/README.chromium, from which the version number +# is taken. +Provides: bundled(icu) = 60 %description GN is a meta-build system that generates build files for Ninja. @@ -170,7 +183,7 @@ grep -E '^#define[[:blank:]]+LAST_COMMIT_POSITION[[:blank:]]+'\ %files doc -%license LICENSE +%license LICENSE src/base/third_party/icu/README.chromium %doc AUTHORS %doc OWNERS %doc README*.md