GitHub release tarballs identify the version as an alpha, so replace that
This commit is contained in:
parent
767d576d1d
commit
b8ef390deb
1 changed files with 2 additions and 0 deletions
|
|
@ -266,6 +266,8 @@ cp %{SOURCE1000} .
|
|||
|
||||
%else
|
||||
%autosetup -p1 -n pytorch-v%{version}
|
||||
# GitHub release tarballs identify the version as an alpha, so replace that
|
||||
echo "%{pypi_version}" > version.txt
|
||||
%endif
|
||||
|
||||
# Remove bundled egg-info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue