[newbies] Как правильно указать смешанную лицензию в спеке?

Mikhail Efremov sem на altlinux.org
Вт Янв 26 14:19:01 MSK 2016


On Tue, 26 Jan 2016 13:49:43 +0700 Антон Мидюков wrote:
> Как будет выглядеть строка license в спеке, если нужно указать 
> одновременно GPL-3.0 и Apache-2.0?

/usr/share/doc/rpm-build-licenses-2.0.5/README:

Questions & Answers:
Q1: What if a package contains parts under different licenses?
A: Consider splitting the package into subpackages. If it is not
feasible for some reason, mention both licenses, separating them with a
comma, e.g.: %gpl2plus, %lgpl2plus

Q2: What if a package can be distributed under several licenses?
A: Mention the applicable licenses, separating them with a pipe sign or 'or'
word (NOT with a slash), e.g.:
%mpl|%gpl2plus|lgpl2plus (Firefox license)
%gpl2plus or %artistic_license (Perl license; better use %perl_license)

Q3: Why shouldn't I use a slash to separate licenses?
A: Because of an ambiguity. Consider "GPL/LGPL v.2" that usually means
"GPLv2+, LGPLv2+" (as in FAQ1) and "GPL/Artistic" (Perl license that means
"Either GPL or Artistic". The initial proposal was here:
http://lists.altlinux.org/pipermail/devel/2007-August/049382.html (in
Russian).

-- 
WBR, Mikhail Efremov


Подробная информация о списке рассылки devel-newbies