Overview

Request 1180853 revoked

No description set
Loading...

Marcus Rueckert's avatar

how about this instead?

%if %{pkg_vcmp libnl3-devel >= 3.4}
%bcond_without dco
%else
%bcond_with    dco
%endif
[snip]
%if %{with dco}
  confopt=--enable-dco
%else
  confopt=--enable-iproute2
%endif

Marcus Rueckert's avatar

if you wanted to stick with pkgconfig

you could use something like

if pkg-config --atleast-version 3.4 libnl3-devel ; then
...
fi

then you save yourself the ugly parsing.


Reinhard Max's avatar

Please reject, this package is not done yet. It will become a multibuild package with the default build supporting iproute2 and an alternative build supporting dco.


Alexandre Vicenzi's avatar
author source maintainer

I just accepted a submission and forwarded it to Factory. @bmwiedemann take a look.

Request History
Alexandre Vicenzi's avatar

avicenzi 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


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:G as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:G"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:G"


Alexandre Vicenzi's avatar

avicenzi revoked request

openSUSE Build Service is sponsored by