Migrate License tag to SPDX

https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
Related: rhbz#2167756
This commit is contained in:
Petr Lautrbach 2022-11-10 09:29:45 +01:00 committed by Petr Lautrbach
parent 9d1538a366
commit 1882c6b951

View File

@ -6,7 +6,7 @@ Version: 4.4.0
Release: 5%{?dist} Release: 5%{?dist}
Summary: Policy analysis tools for SELinux Summary: Policy analysis tools for SELinux
License: GPLv2 License: GPL-2.0-only and LGPL-2.1-only
URL: https://github.com/SELinuxProject/setools/wiki URL: https://github.com/SELinuxProject/setools/wiki
Source0: https://github.com/SELinuxProject/setools/archive/%{version}.tar.gz Source0: https://github.com/SELinuxProject/setools/archive/%{version}.tar.gz
Source1: setools.pam Source1: setools.pam
@ -35,7 +35,7 @@ Python modules designed to facilitate SELinux policy analysis.
%package console %package console
Summary: Policy analysis command-line tools for SELinux Summary: Policy analysis command-line tools for SELinux
License: GPLv2 License: GPL-2.0-only
Requires: python3-setools = %{version}-%{release} Requires: python3-setools = %{version}-%{release}
Requires: libselinux >= %{selinux_ver} Requires: libselinux >= %{selinux_ver}
@ -52,7 +52,7 @@ This package includes the following console tools:
%package console-analyses %package console-analyses
Summary: Policy analysis command-line tools for SELinux Summary: Policy analysis command-line tools for SELinux
License: GPLv2 License: GPL-2.0-only
Requires: python3-setools = %{version}-%{release} Requires: python3-setools = %{version}-%{release}
Requires: libselinux >= %{selinux_ver} Requires: libselinux >= %{selinux_ver}
Requires: python3-networkx Requires: python3-networkx
@ -69,6 +69,7 @@ This package includes the following console tools:
%package -n python3-setools %package -n python3-setools
Summary: Policy analysis tools for SELinux Summary: Policy analysis tools for SELinux
License: LGPL-2.1-only
Obsoletes: setools-libs < 4.0.0 Obsoletes: setools-libs < 4.0.0
%{?python_provide:%python_provide python3-setools} %{?python_provide:%python_provide python3-setools}
Requires: python3-setuptools Requires: python3-setuptools
@ -80,6 +81,7 @@ Python 3 modules designed to facilitate SELinux policy analysis.
%package gui %package gui
Summary: Policy analysis graphical tools for SELinux Summary: Policy analysis graphical tools for SELinux
License: GPL-2.0-only
Requires: python3-setools = %{version}-%{release} Requires: python3-setools = %{version}-%{release}
Requires: python3-qt5 Requires: python3-qt5
Requires: python3-networkx Requires: python3-networkx
@ -109,6 +111,7 @@ Python modules designed to facilitate SELinux policy analysis.
%files %files
%files console %files console
%license COPYING.GPL
%{_bindir}/sechecker %{_bindir}/sechecker
%{_bindir}/sediff %{_bindir}/sediff
%{_bindir}/seinfo %{_bindir}/seinfo
@ -122,6 +125,7 @@ Python modules designed to facilitate SELinux policy analysis.
%{_mandir}/ru/man1/sesearch* %{_mandir}/ru/man1/sesearch*
%files console-analyses %files console-analyses
%license COPYING.GPL
%{_bindir}/sedta %{_bindir}/sedta
%{_bindir}/seinfoflow %{_bindir}/seinfoflow
%{_mandir}/man1/sedta* %{_mandir}/man1/sedta*
@ -130,11 +134,12 @@ Python modules designed to facilitate SELinux policy analysis.
%{_mandir}/ru/man1/seinfoflow* %{_mandir}/ru/man1/seinfoflow*
%files -n python3-setools %files -n python3-setools
%license COPYING COPYING.GPL COPYING.LGPL %license COPYING COPYING.LGPL
%{python3_sitearch}/setools %{python3_sitearch}/setools
%{python3_sitearch}/setools-* %{python3_sitearch}/setools-*
%files gui %files gui
%license COPYING.GPL
%{_bindir}/apol %{_bindir}/apol
%{python3_sitearch}/setoolsgui %{python3_sitearch}/setoolsgui
%{_mandir}/man1/apol* %{_mandir}/man1/apol*