From 49d17228f61e432952bcd2c019eba961d1f8ce54 Mon Sep 17 00:00:00 2001 From: David King Date: Mon, 21 Jun 2021 13:23:06 +0100 Subject: [PATCH] Fix the License fields and ship the correct license texts (#1973299) Resolves: #1973299 --- vte291.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/vte291.spec b/vte291.spec index 11e412b..ce5dae5 100644 --- a/vte291.spec +++ b/vte291.spec @@ -14,7 +14,8 @@ Version: 0.64.2 Release: 1%{?dist} Summary: Terminal emulator library -License: LGPLv2+ +# libvte-2.91.so is generated from LGPLv3+ and MIT sources +License: LGPLv3+ and MIT URL: https://wiki.gnome.org/Apps/Terminal/VTE Source0: https://download.gnome.org/sources/vte/0.64/vte-%{version}.tar.xz @@ -61,6 +62,9 @@ console/terminal in games, editors, IDEs, etc. %package devel Summary: Development files for %{name} +# vte-2.91 is generated from GPLv3+ sources, while the public headers are +# LGPLv3+ +License: GPLv3+ and LGPLv3+ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -99,12 +103,14 @@ sed -i -e "/^vte_systemduserunitdir =/s|vte_prefix|'/usr'|" meson.build %find_lang vte-%{apiver} %files -f vte-%{apiver}.lang -%license COPYING.GPL3 +%license COPYING.LGPL3 +%license COPYING.XTERM %{_libdir}/libvte-%{apiver}.so.0* %{_libdir}/girepository-1.0/ %{_userunitdir}/vte-spawn-.scope.d %files devel +%license COPYING.GPL3 %{_bindir}/vte-%{apiver} %{_includedir}/vte-%{apiver}/ %{_libdir}/libvte-%{apiver}.so @@ -115,6 +121,7 @@ sed -i -e "/^vte_systemduserunitdir =/s|vte_prefix|'/usr'|" meson.build %{_datadir}/vala/ %files -n vte-profile +%license COPYING.GPL3 %{_libexecdir}/vte-urlencode-cwd %{_sysconfdir}/profile.d/vte.csh %{_sysconfdir}/profile.d/vte.sh @@ -122,8 +129,8 @@ sed -i -e "/^vte_systemduserunitdir =/s|vte_prefix|'/usr'|" meson.build %changelog * Thu Jun 17 2021 Debarshi Ray - 0.64.2-1 - Update to 0.64.2 -- Add missing _VTE_CXX_NOEXCEPT to downstream patches -Resolves: #1973174 +- Add missing _VTE_CXX_NOEXCEPT to downstream patches (#1973174) +- Fix the License fields and ship the correct license texts (#1973299) * Thu May 06 2021 Debarshi Ray - 0.64.1-1 - Update to 0.64.1