rpms/clucene/devel .cvsignore, 1.3, 1.4 clucene.spec, 1.4, 1.5 sources, 1.3, 1.4

Deji Akingunola (deji) fedora-extras-commits at redhat.com
Thu Oct 25 11:54:00 UTC 2007


Author: deji

Update of /cvs/extras/rpms/clucene/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32751

Modified Files:
	.cvsignore clucene.spec sources 
Log Message:
* Tue Aug 21 2007 Deji Akingunola <dakingun at gmail.com> - 0.9.20-2
- Fix multiarch conflicts (BZ #340891)
- Bypass 'make check' for ppc64, its failing two tests there



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/clucene/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	11 Aug 2007 21:38:48 -0000	1.3
+++ .cvsignore	25 Oct 2007 11:53:27 -0000	1.4
@@ -1 +1 @@
-clucene-core-0.9.19.tar.bz2
+clucene-core-0.9.20.tar.bz2


Index: clucene.spec
===================================================================
RCS file: /cvs/extras/rpms/clucene/devel/clucene.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- clucene.spec	11 Aug 2007 21:38:48 -0000	1.4
+++ clucene.spec	25 Oct 2007 11:53:27 -0000	1.5
@@ -2,18 +2,18 @@
 
 Summary:	A C++ port of Lucene
 Name:		clucene
-Version:	0.9.19
-Release:	1%{?dist}
-License:	LGPL or ASL 2.0
+Version:	0.9.20
+Release:	2%{?dist}
+License:	LGPLv+ or ASL 2.0
 Group:		Development/System
 URL:		http://www.sourceforge.net/projects/clucene
-Source0:	http://easynews.dl.sf.net/clucene/clucene-core-%{version}.tar.bz2
+Source0:	http://downloads.sf.net/clucene/clucene-core-%{version}.tar.bz2
 %if %{build_contrib}
-Source1:	http://easynews.dl.sf.net/clucene/clucene-contrib-0.9.16a.tar.bz2
+Source1:	http://downloads.dl.sf.net/clucene/clucene-contrib-0.9.16a.tar.bz2
 Patch1:		clucene-contrib-autoconf.patch
 %endif
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	automake
+BuildRequires:	automake gawk
 
 %description
 CLucene is a C++ port of Lucene.
@@ -84,12 +84,6 @@
 popd
 %endif
 
-# Run the tests
-%check
-pushd %{name}-core-%{version}
-make check
-popd
-										
 %install
 rm -rf %{buildroot}
 pushd %{name}-core-%{version}
@@ -102,13 +96,6 @@
 popd
 %endif
 
-#Hope upstream will correct this problem in the next release
-mv %{buildroot}%{_libdir}/CLucene/clucene-config.h  %{buildroot}%{_includedir}/CLucene/
-%if %{build_contrib}
-mv %{buildroot}%{_libdir}/CLucene/clucene-config-contrib.h  %{buildroot}%{_includedir}/CLucene/
-%endif
-rm -rf %{buildroot}%{_libdir}/CLucene
-
 #Package the docs
 mkdir -p %{buildroot}%{_datadir}/%{name}/doc
 mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version}
@@ -118,6 +105,15 @@
        %{buildroot}%{_datadir}/doc/%{name}-%{version}
 popd
 
+# Run the tests 
+## It currently fails 2 tests for ppc64 builds, upstream is looking into it.
+%ifnarch ppc64
+%check
+pushd %{name}-core-%{version}
+make check
+popd
+%endif
+
 rm -rf %{buildroot}%{_libdir}/*.la
 # These are from the contrib package
 rm -rf %{buildroot}%{_includedir}/CuTest.h
@@ -139,9 +135,11 @@
 %files core-devel
 %defattr(-, root, root, -)
 %dir %{_includedir}/CLucene
+%dir %{_libdir}/CLucene
 %{_includedir}/CLucene/*
 %{_includedir}/CLucene.h
 %{_libdir}/libclucene.so
+%{_libdir}/CLucene/clucene-config.h
 %{_datadir}/%{name}/
 %if %{build_contrib}
 %exclude %{_includedir}/CLucene/clucene-config-contrib.h
@@ -158,15 +156,24 @@
 
 %files contrib-devel
 %defattr(-, root, root, -)
+%dir %{_libdir}/CLucene
 %{_includedir}/CLucene/clucene-config-contrib.h
 %{_includedir}/CLucene/analysis/cjk/
 %{_includedir}/CLucene/highlighter/
 %{_includedir}/CLucene/jstreams/
 %{_includedir}/CLucene/snowball/
 %{_libdir}/libclucene-contrib.so
+%{_libdir}/CLucene/clucene-config-contrib.h
 %endif
 
 %changelog
+* Tue Aug 21 2007 Deji Akingunola <dakingun at gmail.com> - 0.9.20-2
+- Fix multiarch conflicts (BZ #340891)
+- Bypass 'make check' for ppc64, its failing two tests there
+
+* Tue Aug 21 2007 Deji Akingunola <dakingun at gmail.com> - 0.9.20-1
+- Update to version 0.9.20
+
 * Sat Aug 11 2007 Deji Akingunola <dakingun at gmail.com> - 0.9.19-1
 - Latest release update
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/clucene/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	11 Aug 2007 21:38:48 -0000	1.3
+++ sources	25 Oct 2007 11:53:28 -0000	1.4
@@ -1 +1 @@
-5ae4e6c37319daf0a6001175df01fdf8  clucene-core-0.9.19.tar.bz2
+da62da5d23b17fec67f0175481a603b8  clucene-core-0.9.20.tar.bz2




More information about the fedora-extras-commits mailing list