forked from packit/dist-git-to-source-git
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
treat %setup -T as a separate use case
%setup -T means that rpm should not unpack source0 - if we turn %setup into %autosetup thus getting a git repo after running it, we'll get an empty git repo - bad. These cases usually unpack/construct the source tree in %prep in a custom way. It would result into first patch containing the whole source tree - we don't want that. With this change, we'll create the git repo before applying first patch which should match the initial source tree. I hope it's clear we are getting into depths of odd packaging Related packit#85 Signed-off-by: Tomas Tomecek <[email protected]>
- Loading branch information
1 parent
16f6655
commit a562dcc
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters