User:Toshio/Bootstrap

Exceptions
%{!? with_bootstrap: %global bootstrap 1}
 * 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:
 * 1) Set this to 0 after we've bootstrapped

[...]

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