Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust all chroots with
--with=snapshot_build
(#754)
In order to avoid Copr specific code like the following in the `llvm.spec` file we have to manually specify the `--with=snapshot_build` for each chroot. ```spec %global copr_snapshot_build_detected %(/bin/bash -fc 'if [[ "%{?copr_username}/%{?copr_projectname}" == @fedora-llvm-team/llvm-snapshots-* ]]; then echo "yes" else echo "no" fi') %if "%{copr_snapshot_build_detected}" == "yes" %bcond_without snapshot_build %else %bcond_with snapshot_build %endif ``` This first began here: https://src.fedoraproject.org/rpms/llvm/pull-request/301#comment-221782
- Loading branch information