From 9ddcd14affa469096318a1dc5fd9dadd0a4d5564 Mon Sep 17 00:00:00 2001 From: Andrea Claudi Date: Tue, 30 May 2023 17:16:19 +0200 Subject: [PATCH] Use SDPX license IDs Change the License line to the SPDX license format as per https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2 Also use the correct License line for the doc package. Signed-off-by: Andrea Claudi --- scapy.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scapy.spec b/scapy.spec index 8b6cd67..f0a5b4e 100644 --- a/scapy.spec +++ b/scapy.spec @@ -1,6 +1,6 @@ Name: scapy Version: 2.5.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Interactive packet manipulation tool and network scanner %global gituser secdev @@ -8,7 +8,7 @@ Summary: Interactive packet manipulation tool and network scanner %global commit 95ba5b8504152a1f820bbe679ccf03668cb5118f %global shortcommit %(c=%{commit}; echo ${c:0:7}) -License: GPLv2 +License: GPL-2.0-only URL: http://www.secdev.org/projects/scapy/ # https://github.com/secdev/scapy/releases # https://bitbucket.org/secdev/scapy/pull-request/80 @@ -110,6 +110,7 @@ Recommends: ipython3 %if 0%{?with_doc} %package doc Summary: Interactive packet manipulation tool and network scanner +License: CC-BY-NC-SA-2.5 BuildRequires: python%{python3_pkgversion}-sphinx BuildRequires: python%{python3_pkgversion}-sphinx_rtd_theme