From 225ccf84496aa081015b9ff044135c565ce59c90 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Mar 02 2023 12:22:39 +0000 Subject: Update License for 2.46 - The python3-graph-tool-devel subpackage now has its own License without the terms for header-only dependencies, etc. - Link cairomm1.16 instead of cairomm1.0, now that it is supported --- diff --git a/python-graph-tool.spec b/python-graph-tool.spec index fb36ded..4524c05 100644 --- a/python-graph-tool.spec +++ b/python-graph-tool.spec @@ -22,8 +22,9 @@ Summary: Efficient network analysis tool written in Python # - BSL-1.0: src/boost-workaround/ # src/graph/graphml.cpp # src/graph/read_graphviz_new.cpp +# - LGPL-3.0-or-later AND BSD-3-Clause: src/graph_tool/collection/small.py # Additionally, the following libraries are header-only and are therefore -# treated as static libraries; their licenses to contribute to that of the +# treated as static libraries; their licenses do contribute to that of the # binary RPMs: # - CGAL is: LGPL-3.0-or-later AND GPL-3.0-or-later AND BSL-1.0 AND MIT # - pcg-cpp is: MIT OR Apache-2.0 @@ -53,7 +54,7 @@ Summary: Efficient network analysis tool written in Python # m4/ax_cxx_compile_stdcxx_17.m4 # m4/ax_lib_cgal_core.m4 # m4/ax_python_module.m4 -License: LGPL-3.0-or-later AND BSL-1.0 AND GPL-3.0-or-later AND MIT AND (MIT OR Apache-2.0) +License: LGPL-3.0-or-later AND BSL-1.0 AND BSD-3-Clause AND GPL-3.0-or-later AND MIT AND (MIT OR Apache-2.0) URL: https://graph-tool.skewed.de/ Source0: https://downloads.skewed.de/graph-tool/graph-tool-%{version}.tar.bz2 # Remove upstream compiler flags @@ -86,7 +87,7 @@ BuildRequires: CGAL-devel # CGAL is header-only since version 5.4.0, so we must BR the virtual -static # subpackage for tracking, per Fedora guidelines BuildRequires: CGAL-static -BuildRequires: pkgconfig(cairomm-1.0) +BuildRequires: pkgconfig(cairomm-1.16) BuildRequires: expat-devel BuildRequires: gcc-c++ BuildRequires: gmp-devel @@ -109,6 +110,13 @@ Provides: graph-tool%{?_isa} = %{version}-%{release} %package -n python3-graph-tool-devel Summary: %{summary} +# This package does not contain compiled binaries, so its license does not +# include the licenses of header-only “static” dependencies. The headers of +# pcg-cpp are “re-exposed” in this package, but it uses symbolic links rather +# than installing additional copies. Additionally, no .py source files are +# included. +License: LGPL-3.0-or-later AND BSL-1.0 + Requires: python3-graph-tool%{?_isa} = %{version}-%{release} # Since this header-only package is re-exposed as part of the extension API, # dependent packages should ideally also BuildRequire pcg-cpp-static for