Fix setuptools_scm not finding the version
This commit is contained in:
@@ -35,6 +35,14 @@ Summary: %{summary}
|
||||
%{summary}.
|
||||
|
||||
|
||||
%generate_buildrequires -p
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
|
||||
|
||||
|
||||
%build -p
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
|
||||
|
||||
|
||||
%check -a
|
||||
%pytest -rs -v tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user