rpm-software-management / spec-cleaner

spec-cleaner
BSD 3-Clause "New" or "Revised" License
28 stars 34 forks source link

Wrong cleaning of pytest #261

Closed mcepl closed 4 years ago

mcepl commented 4 years ago

When running spec-cleaner -i on python-html5lib.spec I got change from:

%python_expand %python_exec %{_bindir}/py.test --tb=short

to

%python_expand %pytest --tb=short

OK, so the original was wrong as well. Should spec-cleaner check for this error?

scarabeusiv commented 4 years ago

i dunno, if it is in more than one place then yes, but if it is just one place it is not spec-cleaner;s job to protect you. Same would be %python_expand %python_expand