Hello community,

here is the log from the commit of package libpinyin for openSUSE:Factory 
checked in at 2017-02-05 15:49:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpinyin (Old)
 and      /work/SRC/openSUSE:Factory/.libpinyin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpinyin"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpinyin/libpinyin.changes      2016-09-11 
00:54:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libpinyin.new/libpinyin.changes 2017-02-05 
18:37:12.391718780 +0100
@@ -1,0 +2,25 @@
+Thu Feb  2 02:11:05 UTC 2017 - [email protected]
+
+- Trim descriptions and ensure fdupes does not run across
+  potential partitions.
+- Rename %soname to %sover to better reflect its use.
+
+-------------------------------------------------------------------
+Tue Jan 31 14:30:52 UTC 2017 - [email protected]
+
+- add libpinyin-1.7.0-no-AX_CXX_COMPILE_STDCXX_11.patch
+  * AX_CXX_COMPILE_STDCXX([11]) breaks build on Leap 42.1 while
+    no actual use
+
+-------------------------------------------------------------------
+Tue Jan 31 13:15:19 UTC 2017 - [email protected]
+
+- update version 1.7.0
+  * fixes build on FreeBSD;
+  * update cmake files;
+- changes in version 1.6.91
+  * change license to GPLv3+;
+  * import open-gram dictionary and remove pinyin tones;
+  * add some checks when load data from file;
+
+-------------------------------------------------------------------

Old:
----
  libpinyin-1.6.0.tar.gz
  model12.text.tar.gz

New:
----
  libpinyin-1.7.0-no-AX_CXX_COMPILE_STDCXX_11.patch
  libpinyin-1.7.0.tar.gz
  model14.text.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libpinyin.spec ++++++
--- /var/tmp/diff_new_pack.GRUO0l/_old  2017-02-05 18:37:13.383579526 +0100
+++ /var/tmp/diff_new_pack.GRUO0l/_new  2017-02-05 18:37:13.387578964 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpinyin
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,21 +16,24 @@
 #
 
 
-%define soname 9
+%define sover 10
 Name:           libpinyin
-Version:        1.6.0
+Version:        1.7.0
 Release:        0
 Summary:        Intelligent Pinyin IME
-License:        GPL-2.0+
+License:        GPL-3.0+
 Group:          System/I18n/Chinese
 Url:            https://github.com/libpinyin/libpinyin
 Source:         %{name}-%{version}.tar.gz
-Source1:        
http://netix.dl.sourceforge.net/project/libpinyin/models/model12.text.tar.gz
+Source1:        
http://jaist.dl.sourceforge.net/project/libpinyin/models/model14.text.tar.gz
 Source99:       baselibs.conf
 # PATCH-FIX-OPENSUSE [email protected] - avoid download at buildtime
 Patch0:         libpinyin-avoid_download_at_buildtime.patch
 # PATCH-FIX-UPSTRAEM [email protected] - fix mapper for double pinyin
 Patch1:         libpinyin-fix_double_pinyin.patch
+# PATCH-FIX-UPSTREAM [email protected] - AX_CXX_COMPILE_CXX([11])
+# breaks Leap 42.1 builds while of no actual use
+Patch2:         libpinyin-1.7.0-no-AX_CXX_COMPILE_STDCXX_11.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  glib2-devel
@@ -46,52 +49,50 @@
 %endif
 
 %description
-Libpinyin is a staging joint effort of many Chinese Pinyin IME development 
teams.
-It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend
-supports many Language Models and Frontends.
+libpinyin is an intelligent (and universal) sentence-based Pinyin IME
+backend supporting many language models and frontends.
 
-%package -n %{name}%{soname}
+%package -n %{name}%{sover}
 Summary:        Intelligent Pinyin IME
 Group:          System/Libraries
 Requires:       %{name}-data
 
-%description -n %{name}%{soname}
-Libpinyin is a staging joint effort of many Chinese Pinyin IME development 
teams.
-It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend
-supports many Language Models and Frontends.
+%description -n %{name}%{sover}
+libpinyin is a staging joint effort of many Chinese Pinyin IME development
+teams. It is an intelligent (and universal) sentence-based Pinyin IME backend
+supporting many language models and frontends.
 
 This package provides runtime library for libpinyin.
 
 %package data
-Summary:        Data files for libpinyin
+Summary:        Data files for the libpinyin IME
 Group:          System/I18n/Chinese
 
 %description data
-Libpinyin is a staging joint effort of many Chinese Pinyin IME development 
teams.
-It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend
-supports many Language Models and Frontends.
+libpinyin is an intelligent (and universal) sentence-based Pinyin IME
+backend supporting many language models and frontends.
 
 This package provides language model table data for libpinyin.
 
 %package devel
-Summary:        Intelligent Pinyin IME
+Summary:        Development files for the libpinyin IME
 Group:          Development/Libraries/C and C++
-Requires:       %{name}%{soname} = %{version}
+Requires:       %{name}%{sover} = %{version}
 Requires:       %{name}-tools = %{version}
 
 %description devel
-Libpinyin is a staging joint effort of many Chinese Pinyin IME development 
teams.
-It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend
-supports many Language Models and Frontends.
+libpinyin is an intelligent (and universal) sentence-based Pinyin IME
+backend supporting many language models and frontends.
+
+This subpackage contains the development files.
 
 %package tools
 Summary:        Tools for libpinyin
 Group:          System/I18n/Chinese
 
 %description tools
-Libpinyin is a staging joint effort of many Chinese Pinyin IME development 
teams.
-It aims to be an Intelligent (and Universal) Sentence-based Pinyin IME Backend
-supports many Language Models and Frontends.
+libpinyin is an intelligent (and universal) sentence-based Pinyin IME
+backend supporting many language models and frontends.
 
 This package provides the tools used to make data files.
 
@@ -100,6 +101,7 @@
 cp -r %{SOURCE1} data/
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 NOCONFIGURE=1 ./autogen.sh
 
 %build
@@ -109,14 +111,13 @@
 %install
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 find %{buildroot} -type f -name "*.la" -delete -print
+%fdupes %{buildroot}/%{_prefix}
 
-%fdupes %{buildroot}
-
-%post -n %{name}%{soname} -p /sbin/ldconfig
+%post -n %{name}%{sover} -p /sbin/ldconfig
 
-%postun -n %{name}%{soname} -p /sbin/ldconfig
+%postun -n %{name}%{sover} -p /sbin/ldconfig
 
-%files -n %{name}%{soname}
+%files -n %{name}%{sover}
 %defattr(-,root,root)
 %doc ChangeLog AUTHORS COPYING README
 %{_libdir}/%{name}.so.*

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.GRUO0l/_old  2017-02-05 18:37:13.423573911 +0100
+++ /var/tmp/diff_new_pack.GRUO0l/_new  2017-02-05 18:37:13.427573349 +0100
@@ -1,4 +1,4 @@
-libpinyin9
+libpinyin10
        requires "libpinyin-data = <version>"
         post "/sbin/ldconfig"
         postun "/sbin/ldconfig"

++++++ libpinyin-1.7.0-no-AX_CXX_COMPILE_STDCXX_11.patch ++++++
Index: b/configure.ac
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ AC_PROG_MAKE_SET
 
 AC_GNU_SOURCE
 
-AX_CXX_COMPILE_STDCXX([11])
+#AX_CXX_COMPILE_STDCXX([11])
 
 # Init libtool
 AC_PROG_LIBTOOL
++++++ libpinyin-1.6.0.tar.gz -> libpinyin-1.7.0.tar.gz ++++++
++++ 5065 lines of diff (skipped)

++++++ libpinyin-avoid_download_at_buildtime.patch ++++++
--- /var/tmp/diff_new_pack.GRUO0l/_old  2017-02-05 18:37:13.571553135 +0100
+++ /var/tmp/diff_new_pack.GRUO0l/_new  2017-02-05 18:37:13.571553135 +0100
@@ -1,7 +1,7 @@
-Index: libpinyin-1.3.0+git20151204.7b790c9/data/CMakeLists.txt
+Index: b/data/CMakeLists.txt
 ===================================================================
---- libpinyin-1.3.0+git20151204.7b790c9.orig/data/CMakeLists.txt
-+++ libpinyin-1.3.0+git20151204.7b790c9/data/CMakeLists.txt
+--- a/data/CMakeLists.txt
++++ b/data/CMakeLists.txt
 @@ -45,10 +45,6 @@ add_custom_command(
          ${CMAKE_SOURCE_DIR}/data/gb_char.table
          ${CMAKE_SOURCE_DIR}/data/gbk_char.table
@@ -9,19 +9,19 @@
 -    COMMENT
 -        "Downloading textual model data..."
 -    COMMAND
--       wget 
http://downloads.sourceforge.net/libpinyin/models/model12.text.tar.gz
+-       wget 
http://downloads.sourceforge.net/libpinyin/models/model14.text.tar.gz
      COMMAND
-        tar xvf model12.text.tar.gz -C ${CMAKE_SOURCE_DIR}/data
+        tar xvf model14.text.tar.gz -C ${CMAKE_SOURCE_DIR}/data
  )
-Index: libpinyin-1.3.0+git20151204.7b790c9/data/Makefile.am
+Index: b/data/Makefile.am
 ===================================================================
---- libpinyin-1.3.0+git20151204.7b790c9.orig/data/Makefile.am
-+++ libpinyin-1.3.0+git20151204.7b790c9/data/Makefile.am
-@@ -49,7 +49,6 @@ libpinyin_dbdir              = $(libdir)/libpinyin/d
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -48,7 +48,6 @@ libpinyin_dbdir              = $(libdir)/libpinyin/d
  CLEANFILES            = $(binary_model_data)
  
  interpolation2.text:
--      wget 
http://downloads.sourceforge.net/libpinyin/models/model12.text.tar.gz
-       tar xvf model12.text.tar.gz -C $(top_srcdir)/data
+-      wget 
http://downloads.sourceforge.net/libpinyin/models/model14.text.tar.gz
+       tar xvf model14.text.tar.gz -C $(top_srcdir)/data
  
  

++++++ model12.text.tar.gz -> model14.text.tar.gz ++++++
/work/SRC/openSUSE:Factory/libpinyin/model12.text.tar.gz 
/work/SRC/openSUSE:Factory/.libpinyin.new/model14.text.tar.gz differ: char 5, 
line 1


Reply via email to