Skip to content

Commit

Permalink
verify checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 12, 2023
1 parent 7d9756d commit 8e8db88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packaging/rpm/python3-wheel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ It has two different roles:


%prep
sha256=`sha256sum %{SOURCE0} | awk '{print $1}'`
if [ "${sha256}" != "4d4987ce51a49370ea65c0bfd2234e8ce80a12780820d9dc462597a6e60d0841" ]; then
echo "invalid checksum for %{SOURCE0}"
exit 1
fi
%autosetup -n %{pypi_name}-%{version} -p1


Expand Down

0 comments on commit 8e8db88

Please sign in to comment.