Skip to content

Commit

Permalink
stratisd.spec: Extract crate inside existing source directory
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Gurney <[email protected]>
  • Loading branch information
bgurney-rh committed Sep 7, 2023
1 parent e121c78 commit 1c792f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mockbuild_test/stratisd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Requires: stratisd
# previously extracted directory and its contents at the same time. Move the
# newly created tar file to the SOURCE0 location.
tar --transform="s/^stratisd\-stratisd-v/stratisd-/" --extract --file %{SOURCE0}
tar --extract --overwrite --file %{SOURCE2}
tar --directory=./stratisd-%{version} --strip-components=1 --extract --overwrite --file %{SOURCE2}
tar --create --gzip --file %{SOURCE0}.newfile ./stratisd-%{version} --remove-files
mv %{SOURCE0}.newfile %{SOURCE0}

Expand Down

0 comments on commit 1c792f6

Please sign in to comment.