Overview

Request 731778 accepted

No description set
Loading...

Antonio Larrosa's avatar

I think it would be much clearer to replace the condition

%if 0%{?suse_version} > 1500

and the comment to explain the reason of that check with the proper way to check exactly what we want to check with the following condition instead:

%if %{pkg_vcmp swig >= 4}

I don't think we decided to enforce pkg_vcmp when possible, so I'll accept the SR anyway, but please, consider using it.


Antonio Larrosa's avatar

Btw, if you also need to support older openSUSE distributions that don't have a pkg_vcmp macro, you can use:

if %{?pkg_vcmp:%{pkg_vcmp swig >= 4}}%{!?pkg_vcmp:0}
Request History
Dmitriy Perlow's avatar

DarkSS created request


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:36"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:adi:36


Yuchen Lin's avatar

maxlin_factory changed priority to moderate => important

raising priority for openSUSE:Factory:Staging:adi:36


Antonio Larrosa's avatar

alarrosa accepted review


Staging Bot's avatar

staging-bot accepted review

ready to accept


Staging Bot's avatar

staging-bot approved review

ready to accept


Yuchen Lin's avatar

maxlin_factory accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by