From Fedora Project Wiki

< User:Toshio

Revision as of 20:45, 27 March 2012 by Toshio (talk | contribs) (Add spot's revision in here as well)
(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. Please note that this exception, if granted, is limited to only the initial build of the package. You may bootstrap this build with a "bootstrap" pre-built binary, but after this is complete, you must immediately increment Release, drop the "bootstrap" pre-built binary, and build completely from source. Bootstrapped packages containing pre-built "bootstrap" binaries must not be pushed as release packages or updates under any circumstances. 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 [...]