Skip to content

Commit

Permalink
Remove python -> python3 sed command
Browse files Browse the repository at this point in the history
I do not believe it is necessary to get packit to run properly, since
Python 2 has been cleared out for a while. Also, the upstream ci repo
can be updated to explicitly require python3.

See: stratis-storage/ci#461

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Sep 5, 2023
1 parent 90f4440 commit d9ce63b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ actions:
- "wget https://raw.githubusercontent.com/stratis-storage/ci/master/mockbuild_test/stratis-cli.spec -O ../distro/stratis-cli.spec"
- "wget https://raw.githubusercontent.com/stratis-storage/ci/master/release_management/create_artifacts.py -O ../distro/create_artifacts.py"
- "wget https://raw.githubusercontent.com/stratis-storage/ci/master/release_management/_utils.py -O ../distro/_utils.py"
- "sed 's/\\\"python\\\",\\ \\\"setup.py\\\"/\\\"python3\\\",\\ \\\"setup.py\\\"/g' ../distro/_utils.py -i"
create-archive:
- "sh -c 'python3 ../distro/create_artifacts.py ../distro/ stratis-cli $(rpmspec -q --srpm --qf %{Version} ../distro/stratis-cli.spec)'"
- "sh -c 'echo ../distro/stratis-cli-$(rpmspec -q --srpm --qf %{Version} ../distro/stratis-cli.spec).tar.gz'"
Expand Down

0 comments on commit d9ce63b

Please sign in to comment.