packit / dist-git-to-source-git

Converting dist-git to source-git
MIT License
4 stars 9 forks source link

[Update] changes from %prep not re-applied #117

Closed jpopelka closed 3 years ago

jpopelka commented 3 years ago
$ CONTAINER_CMD='dist2src -vvv convert rpms/catch:c8 source-git/catch:c8' make run
The source-git repository and branch exist. Updating existing source-git...
...

$ cd source-git/catch/
$ git log --pretty=oneline --abbrev-commit
03e2f54 (HEAD -> c8, tag: sg-start, imports/c8/catch-2.2.1-2.el8) Add sources defined in the spec file
e304f76 Add spec-file for the distribution
93b5fe3 .packit.yaml
3a2e8ff catch-2.2.1 base
5ca4f72 Prepare for a new update
9841ab2 (origin/c8) Various changes
a7f80b3 catch-2.2.1 base
608e742 Add spec-file for the distribution
9f180dc .packit.yaml

The 9841ab2 (origin/c8) Various changes commit contains change from spec's %prep. It's reverted in 5ca4f72 Prepare for a new update but never re-applied.

TomasTomecek commented 3 years ago

gonna take a stab at this

TomasTomecek commented 3 years ago

this looked like an easy task to do and ended up being 8 freaking story points :D