rpm-software-management / spec-cleaner

spec-cleaner
BSD 3-Clause "New" or "Revised" License
27 stars 33 forks source link

Damages conditional BuildRequires: #321

Closed mcepl closed 3 months ago

mcepl commented 3 months ago

When I have this line in the SPEC file:

BuildRequires:  %{python_module tomli >= 1.2.2 if %python-base < 3.11}

it is rewritten as

BuildRequires:  %{python_module tomli >= 1.2.2 if %{python}-base < 3.11}

which unfortunately doesn’t work.