spec: add rpm-macros-python3 to rpm-build requirements

This is required to guarantee that no python3 req/prov are accidentally
lost because python3.{req,prov} are not installed.

Unlike rpm-build-python3, rpm-macros-python3 can be installed without
python3, so no extra dependencies are pulled in.

If rpm-build-python3 is not installed but python3.{req,prov}.files
decide that python3.{req,prov} have to be invoked, the latter will issue
an error.
This commit is contained in:
Дмитрий Левин 2021-05-01 08:00:00 +00:00
parent 1a750d8e21
commit 62370d58b8

View File

@ -65,6 +65,7 @@ Requires: procps
Requires: psmisc
Requires: rpm-build-perl >= 0.76
Requires: rpm-macros-python
Requires: rpm-macros-python3
Requires: rpmspec
Requires: sed
Requires: service