Make netcat-openbsd the default netcat

Old default netcat was unmaintained and lacked important features, e.g. IPv6
This commit is contained in:
Mikhail Novosyolov 2020-04-09 21:37:12 +03:00
parent f1d8242df2
commit 19d413d351

View file

@ -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