Prepare for snapshot build
Generate new patches:
cd ~/llvm-project
git checkout streamline
git fetch upstream # This is the upstream llvm-project
git fetch pagure # This is the Fedora fork of the llvm-project in which all patches are maintained
git reset --hard pagure/streamline
git rebase upstream/main # Fix any issues during this phase
git format-patch upstream/main..pagure/streamline --no-numbered --keep-subject -o ~/dev/rpms/clang -- clang
mv *.patch > ~/dev/rpms/clang
cd ~/dev/rpms/clang
git add *.patch
git commit -m "Rebased patches on top of upstream/main"