Hello community, here is the log from the commit of package clucene-core for openSUSE:Factory checked in at 2015-04-25 16:45:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/clucene-core (Old) and /work/SRC/openSUSE:Factory/.clucene-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clucene-core" Changes: -------- --- /work/SRC/openSUSE:Factory/clucene-core/clucene-core.changes 2013-01-29 12:04:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.clucene-core.new/clucene-core.changes 2015-04-25 16:45:37.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Apr 21 13:22:11 UTC 2015 - [email protected] + +- Use url for source +- Use fdupes to reduce amount of duplicate files +- Cleanup spec-file with spec-cleaner +- Do not install empty NEWS file + +------------------------------------------------------------------- Old: ---- clucene-core-2.3.3.4.tar.bz2 New: ---- clucene-core-2.3.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ clucene-core.spec ++++++ --- /var/tmp/diff_new_pack.8ZkRCj/_old 2015-04-25 16:45:38.000000000 +0200 +++ /var/tmp/diff_new_pack.8ZkRCj/_new 2015-04-25 16:45:38.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package clucene-core # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,19 +23,18 @@ License: LGPL-2.1 or Apache-2.0 Group: Development/Libraries/C and C++ Url: http://clucene.sourceforge.net/ - #Git-Clone: git://clucene.git.sourceforge.net/gitroot/clucene/clucene -Source: %{name}-%{version}.tar.bz2 +Source0: http://sourceforge.net/projects/clucene/files/clucene-core-unstable/2.3/%{name}-%{version}.tar.gz Source2: baselibs.conf # PATCH-FIX-UPSTREAM [rh#748196] Patch0: clucene-2.3.3.4-pkgconfig.patch # PATCH-FIX-UPSTREAM [rh#794795] Patch1: clucene-2.3.3.4-contrib-libs.patch Patch2: clucene-kill-ext-includes.diff - BuildRequires: boost-devel BuildRequires: cmake BuildRequires: doxygen +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkg-config @@ -51,8 +50,8 @@ Summary: C++ implementation of the Lucene text search engine Group: System/Libraries # Rip the wrong name. -Obsoletes: libclucene2 < %version-%release -Provides: libclucene2 = %version-%release +Obsoletes: libclucene2 < %{version}-%{release} +Provides: libclucene2 = %{version}-%{release} %description -n libclucene-core1 CLucene is a C++ port of Lucene. It is a high-performance, full-featured text @@ -80,13 +79,12 @@ This package contains language specific text analyzers for clucene. - %package devel Summary: Development files for clucene library Group: Development/Libraries/C and C++ Requires: libclucene-contribs-lib1 = %{version} -Requires: libclucene-core1 = %version -Requires: libclucene-shared1 = %version +Requires: libclucene-core1 = %{version} +Requires: libclucene-shared1 = %{version} Requires: libstdc++-devel %description devel @@ -100,7 +98,7 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch -P 2 -p1 +%patch2 -p1 # the tar ball is stripped like this: rm -rf test/data/reuters* tests/data/utf* # test/data is not allowed to be distributed bnc#253602 @@ -112,36 +110,43 @@ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DLUCENE_SYS_INCLUDES=%{_libdir} \ -DBUILD_CONTRIBS_LIB=ON \ -%if "%_lib" == "lib64" +%if "%{_lib}" == "lib64" -DLIB_SUFFIX=64 \ %endif -DCMAKE_BUILD_TYPE=RelWithDebInfo make %{?_smp_mflags} VERBOSE=1 %install -make install DESTDIR="%buildroot" +make DESTDIR=%{buildroot} install %{?_smp_mflags} -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print rm -rf %{buildroot}%{_libdir}/CLuceneConfig.cmake +# remove duplicates +%fdupes -s %{buildroot} + %post -n libclucene-core1 -p /sbin/ldconfig + %postun -n libclucene-core1 -p /sbin/ldconfig + %post -n libclucene-shared1 -p /sbin/ldconfig + %postun -n libclucene-shared1 -p /sbin/ldconfig %files -n libclucene-core1 %defattr(-,root,root,-) -%doc APACHE.license AUTHORS ChangeLog COPYING doc/ LGPL.license NEWS README README.PACKAGE REQUESTS +%doc APACHE.license AUTHORS ChangeLog COPYING doc/ LGPL.license README README.PACKAGE REQUESTS %{_libdir}/libclucene-core.so.1 -%{_libdir}/libclucene-core.so.%version +%{_libdir}/libclucene-core.so.%{version} %files -n libclucene-shared1 %defattr(-,root,root) %doc APACHE.license COPYING LGPL.license %{_libdir}/libclucene-shared.so.1 -%{_libdir}/libclucene-shared.so.%version +%{_libdir}/libclucene-shared.so.%{version} %post -n libclucene-contribs-lib1 -p /sbin/ldconfig + %postun -n libclucene-contribs-lib1 -p /sbin/ldconfig %files -n libclucene-contribs-lib1
