From Fedora Project Wiki

< User:Toshio

Revision as of 18:04, 21 March 2012 by Toshio (talk | contribs) (Add additional criteria for bootstrap exception)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Exceptions

  • Some software (usually related to compilers or cross-compiler environments) cannot be built without the use of a previous toolchain or development environment (open source). If you have a package which meets this criteria, contact the Fedora Packaging Committee for approval. Note that these packages should contain the necessary logic to be built once bootstrapping is completed and the prebuilt programs are no longer needed. This can be done like this:
# Set this to 0 after we've bootstrapped
%{!? with_bootstrap: %global bootstrap 1}

[...]

%if 0%{?with_bootstrap}
  # Do stuff involving the prebuilt files
%else
  # The normal build
%endif
  • An exception is made for binary [...]