[perl-Lucy: 6/28] - Update to 0.164 - Add missing Pod::Coverage BRs (Robert Scheck) - Fix a PowerPC signedness issue -

Lubomir Rintel lkundrak at fedoraproject.org
Thu Jan 23 15:45:11 UTC 2014


commit e209adc1d1ce2efaaf6316c0b72d7f77cb921f73
Author: Lubomir Rintel <lkundrak at fedoraproject.org>
Date:   Mon Mar 30 19:49:00 2009 +0000

    - Update to 0.164
    - Add missing Pod::Coverage BRs (Robert Scheck)
    - Fix a PowerPC signedness issue
    - Clarify licensing, re-add ApacheLicense2.0.txt

 .cvsignore                 |    2 +-
 KinoSearch-0.164-ppc.patch |   16 ++++++++++++++++
 perl-KinoSearch.spec       |   27 +++++++++++++++++++--------
 sources                    |    2 +-
 4 files changed, 37 insertions(+), 10 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index 6e6e551..311dd9f 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-KinoSearch-0.163.tar.gz
+KinoSearch-0.164.tar.gz
diff --git a/KinoSearch-0.164-ppc.patch b/KinoSearch-0.164-ppc.patch
new file mode 100644
index 0000000..833df12
--- /dev/null
+++ b/KinoSearch-0.164-ppc.patch
@@ -0,0 +1,16 @@
+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);
diff --git a/perl-KinoSearch.spec b/perl-KinoSearch.spec
index 201919e..2fb8e2f 100644
--- a/perl-KinoSearch.spec
+++ b/perl-KinoSearch.spec
@@ -1,11 +1,17 @@
 Name:           perl-KinoSearch
-Version:        0.163
-Release:        4%{?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(ExtUtils::ParseXS)
 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 @@ can be put to many different uses.
 
 %prep
 %setup -q -n KinoSearch-%{version}
+%patch0 -p1 -b .ppc
+cp %{SOURCE1} LICENSING.mbox
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -40,6 +50,7 @@ rm -f $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/KinoSearch/KinoSearch.bs
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
+
 %check
 ./Build test
 
@@ -48,16 +59,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README ApacheLicense2.0.txt LICENSING.mbox
 %{perl_vendorarch}/*
 %{_mandir}/man3/*
 
 %changelog
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.163-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.163-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+* 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
diff --git a/sources b/sources
index 6a70bf5..3f3b18a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5522cae77847aa6fad24d12a50ba81a7  KinoSearch-0.163.tar.gz
+9fd011170455974544af83005f0cb350  KinoSearch-0.164.tar.gz


More information about the scm-commits mailing list