Fix provided version in metadata

This commit is contained in:
Elliott Sales de Andrade 2022-03-06 03:56:49 -05:00
parent 0267952f4d
commit c6940ea5b0
2 changed files with 4 additions and 4 deletions

View File

@ -5,14 +5,13 @@
# of this file.
import json
import sys
version_json = '''
{
"dirty": false,
"error": null,
"full-revisionid": "a3299586b05d422800ff8a618a2ba35e00e62665",
"version": "2022.01.0"
"full-revisionid": "@commit@",
"version": "@version@"
}
''' # END VERSION_JSON

View File

@ -8,6 +8,7 @@
Name: python-%{srcname}
Version: 2022.2.1
%global tag 2022.02.1
%global commit 217561b4266c170f452471fed64123940066c4b8
Release: %autorelease
Summary: Parallel PyData with Task Scheduling
@ -77,7 +78,7 @@ Documentation for dask.
%prep
%autosetup -n %{srcname}-%{tag} -p1
cp %SOURCE1 %{srcname}/
sed -e 's/@version@/%{tag}/' -e 's/@commit@/%{commit}/' %SOURCE1 > %{srcname}/_version.py
%generate_buildrequires