diff --git a/libressl.spec b/libressl.spec index 422631d..f8f175d 100644 --- a/libressl.spec +++ b/libressl.spec @@ -230,9 +230,18 @@ Conflicts: netcat-gnu Provides: netcat-tls = %{EVRD} Provides: netcat-libressl = %{EVRD} Provides: nc = %{EVRD} -# Provide "netcat" but of a lower version than the real netcat -# to allow other packages to depend from any variant of netcat +# Provide "netcat" to satisfy deps of packages which require _any_ +# implementation of netcat. +# But make this netcat the default one, so, +# while other packages provide "netcat = 1.0", +# provide a higher version here to make this package +# the default candidate to be installed as "netcat". +%if %{mdvver} > 201610 +Provides: netcat = %{EVRD} +%else +# keep old default in rosa2016.1 Provides: netcat = 1.0 +%endif %description -n netcat-openbsd The nc package contains Netcat (the program is actually nc), a simple