as a package wrangler for a good number of packages it would be nice to have a feature in rdopkg to take the .spec/upstream repo/ dist-git patches and create a local -patches branch to reflect it if possible
manual workflow I've used in past
git add remote upstream
grep Version .spec ==> find tag/branch/commit in upstream repo
git branch <-patches> <tag/sha1/branch>
mkdir patch-set
cp .patch patch-set
grep "^Patch" .spec > patch-set/patch_order
git checkout -patches
git am patch-set/.patches
as a package wrangler for a good number of packages it would be nice to have a feature in rdopkg to take the .spec/upstream repo/ dist-git patches and create a local -patches branch to reflect it if possible
manual workflow I've used in past git add remote upstream
grep Version .spec ==> find tag/branch/commit in upstream repo
git branch <-patches> <tag/sha1/branch>
mkdir patch-set
cp .patch patch-set
grep "^Patch" .spec > patch-set/patch_order
git checkout -patches
git am patch-set/ .patches