rpms/perl-KinoSearch/F-10 KinoSearch-0.164-ppc.patch, NONE, 1.1 LICENSING.mbox, NONE, 1.1 perl-KinoSearch.spec, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Mon Mar 30 19:58:53 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/perl-KinoSearch/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28903

Modified Files:
	perl-KinoSearch.spec 
Added Files:
	KinoSearch-0.164-ppc.patch LICENSING.mbox 
Log Message:
* Sun Mar 29 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.164-1
- Update to 0.164
- Add missing Pod::Coverage BRs (Robert Scheck)
- Fix a PowerPC signedness issue
- Clarify licensing, re-add ApacheLicense2.0.txt


KinoSearch-0.164-ppc.patch:

--- NEW FILE KinoSearch-0.164-ppc.patch ---
Fix signedness issue that caused testing to fail in ppc.

Lubomir Rintel <lkundrak at v3.sk>

diff -up KinoSearch-0.164/lib/KinoSearch/Store/InStream.pm.ppc KinoSearch-0.164/lib/KinoSearch/Store/InStream.pm
--- KinoSearch-0.164/lib/KinoSearch/Store/InStream.pm.ppc	2009-03-03 23:43:28.000000000 +0100
+++ KinoSearch-0.164/lib/KinoSearch/Store/InStream.pm	2009-03-30 21:27:26.991644455 +0200
@@ -234,7 +234,7 @@ PPCODE:
         case 'B': /* unsigned byte */
             aChar = instream->read_byte(instream);
             if (sym == 'b') 
-                aIV = aChar;
+                aIV = (signed char)aChar;
             else
                 aIV = (unsigned char)aChar;
             aSV = newSViv(aIV);


--- NEW FILE LICENSING.mbox ---
>From marvin at rectangular.com Mon Mar 23 01:37:59 2009
Received: by norkia.v3.sk (Postfix, from userid 99) id 718E880147; Mon, 23
 Mar 2009 01:37:59 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on norkia.v3.sk
X-Spam-Level: 
X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=no
 version=3.2.5
X-Greylist: delayed 2343 by SQLgrey-1.7.5
Received: from rectangular.com (unknown [68.116.38.202]) (using TLSv1 with
 cipher AES256-SHA (256/256 bits)) (No client certificate requested) by
 norkia.v3.sk (Postfix) with ESMTP id 8320C80148 for <lkundrak at v3.sk>; Mon,
 23 Mar 2009 00:37:50 +0000 (UTC)
Received: from marvin by rectangular.com with local (Exim 4.63)
 (envelope-from <marvin at rectangular.com>) id 1LlXbT-0000Zw-2E for
 lkundrak at v3.sk; Sun, 22 Mar 2009 17:01:19 -0700
Date: Sun, 22 Mar 2009 17:01:19 -0700
To: Lubomir Rintel <lkundrak at v3.sk>
Subject: FW: [Re: KinoSearch licensing and Fedora]
Message-ID: <20090323000118.GA2217 at rectangular.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.13 (2006-08-11)
From: Marvin Humphrey <marvin at rectangular.com>
X-Evolution-Source: imap://lkundrak%40v3.sk@mail.v3.sk/
Content-Transfer-Encoding: 8bit

Lubomir,

Here you go...

Marvin Humphrey

----- Forwarded message from marvin -----

To: Ian Burrell <ianburrell at gmail.com>
Subject: Re: KinoSearch licensing and Fedora

On Tue, Feb 10, 2009 at 04:21:04PM -0800, Ian Burrell wrote:
> I am trying to package KinoSearch for Fedora.  There were some
> questions in the review[1] about the licensing.  My understanding is
> that KinoSearch is licensed under the GPL or Aristic.  My impression
> is that it doesn't contain any code licensed under ASL 2.0.  

Correct.  It is all either original code or derived code, and all licensed
under GPL or Artistic.  I've been quite conscientious about never copying and
pasting anything directly from Lucene, including documentation and comments.
That allows me to claim a separate copyright and distribute the project under
different but compatible licensing terms.

> But that since it was derived from Lucene, it has to include the Apache
> license text.

That's correct, as per ASL 2.0 section 4.1.

> Is this right?  Is everything in KinoSearch licensed as "GPL+ or
> Artistic"?  Does the Apache license need to be included in the binary
> package to satisfy the ASL?

IANAL but... 

I think so.  I've always assumed that derivations/redistributions of
derivations still need to maintain compatibility with the license terms of the
original -- otherwise the original author would quickly lose control of their
work.  It seems to me that you need to determine whether the GPLv3 your
derivative work will be distributed under is compatible with both the
KinoSearch license terms (which it obviously is) and the Lucene license terms
-- which ought to be the case so long as you include that file and the
existing notice embedded in the KinoSearch documentation.

Best,

Marvin Humphrey

----- End forwarded message -----


Index: perl-KinoSearch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-KinoSearch/F-10/perl-KinoSearch.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-KinoSearch.spec	14 Feb 2009 22:33:07 -0000	1.1
+++ perl-KinoSearch.spec	30 Mar 2009 19:58:23 -0000	1.2
@@ -1,11 +1,17 @@
 Name:           perl-KinoSearch
-Version:        0.163
-Release:        2%{?dist}
+Version:        0.164
+Release:        1%{?dist}
 Summary:        Search engine library
+# ApacheLicense2.0.txt included is included just becuase the upstream
+# author decided to include it and is only for informative purposes.
+# We believe that it doesn't apply, since author didn't use any Lucene
+# code (according to mail in LICENSING.mbox)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/KinoSearch/
 Source0:        http://www.cpan.org/authors/id/C/CR/CREAMYG/KinoSearch-%{version}.tar.gz
+Source1:        LICENSING.mbox
+Patch0:         KinoSearch-0.164-ppc.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  perl(Compress::Zlib)
 BuildRequires:  perl(ExtUtils::CBuilder)
@@ -13,6 +19,8 @@
 BuildRequires:  perl(Lingua::Stem::Snowball) >= 0.94
 BuildRequires:  perl(Lingua::StopWords) >= 0.02
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
+BuildRequires:  perl(Test::Pod) >= 1.14
 Requires:       perl(Compress::Zlib)
 Requires:       perl(Lingua::Stem::Snowball) >= 0.94
 Requires:       perl(Lingua::StopWords) >= 0.02
@@ -25,6 +33,8 @@
 
 %prep
 %setup -q -n KinoSearch-%{version}
+%patch0 -p1 -b .ppc
+cp %{SOURCE1} LICENSING.mbox
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -40,6 +50,7 @@
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
+
 %check
 ./Build test
 
@@ -48,11 +59,17 @@
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README ApacheLicense2.0.txt LICENSING.mbox
 %{perl_vendorarch}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 29 2009 Lubomir Rintel <lkundrak at v3.sk> - 0.164-1
+- Update to 0.164
+- Add missing Pod::Coverage BRs (Robert Scheck)
+- Fix a PowerPC signedness issue
+- Clarify licensing, re-add ApacheLicense2.0.txt
+
 * Sat Feb 14 2009 Ian Burrell <ianburrell at gmail.com> - 0.163-2
 - remove empty KinoSearch.bs
 - remove ApacheLicense2.0.txt




More information about the Fedora-perl-devel-list mailing list