Make the spec file parseable when %_sourcedir is not .
This happens e.g. with: - rpmlint python-rpm-macros.spec - rpmdev-bumpspec python-rpm-macros.spec
This commit is contained in:
parent
dcb4422895
commit
bd4c3de20c
@ -20,7 +20,7 @@ License: MIT and Python
|
||||
# The package version MUST be always the same as %%{__default_python3_version}.
|
||||
# To have only one source of truth, we load the macro and use it.
|
||||
# The macro is defined in python-srpm-macros.
|
||||
%{load:%{SOURCE102}}
|
||||
%{?load:%{SOURCE102}}
|
||||
Version: %{__default_python3_version}
|
||||
Release: 36%{?dist}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user