diff --git a/iproute2.spec b/iproute2.spec index 1303fb6..b25b78a 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -21,7 +21,7 @@ Version: 4.16 Release: 0 %define rversion 4.16.0 Summary: Linux network configuration utilities -License: GPL-2.0 +License: GPL-2.0-only Group: Productivity/Networking/Routing Url: https://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2 # Using GPL-2.0 instead of GPL-2.0+ because of tc_skbedit.h and tc/q_multiq.c @@ -51,7 +51,7 @@ BuildRequires: pkgconfig(libmnl) BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(xtables) >= 1.4.11 %endif -Provides: %name-doc = %{version} +Provides: %name-doc = %version Provides: iproute = %version-%release Provides: %name(xfrm6_raw) = %version-%release Obsoletes: %name-doc < 4.15.0 @@ -65,7 +65,7 @@ of Service. %package -n libnetlink-devel Summary: A Higher Level Interface to the Netlink Service -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Provides: libnetlink = %version-%release @@ -75,7 +75,7 @@ New programs should use libmnl-devel instead. %package bash-completion Summary: Bash completion for iproute -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Shells Requires: bash-completion @@ -141,7 +141,7 @@ cp -an README* "$b/%_docdir/%name/" %_libdir/tc/ %_datadir/tc/ %_docdir/%name/ -%if (0%{?suse_version} >= 1500) || (0%{?sle_version} >= 120300) +%if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 120300 %license COPYING %else %doc COPYING