Hello community,

here is the log from the commit of package libpinyin for openSUSE:Factory 
checked in at 2017-06-23 09:18:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpinyin (Old)
 and      /work/SRC/openSUSE:Factory/.libpinyin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpinyin"

Fri Jun 23 09:18:53 2017 rev:25 rq:505801 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpinyin/libpinyin.changes      2017-02-05 
18:37:12.391718780 +0100
+++ /work/SRC/openSUSE:Factory/.libpinyin.new/libpinyin.changes 2017-06-23 
09:19:07.188034212 +0200
@@ -1,0 +2,7 @@
+Thu Jun 22 10:14:11 UTC 2017 - tchva...@suse.com
+
+- Switch to kyotocabinet from libdb so it could be removed
+- Enable tests
+- Remove needless buildrequires
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libpinyin.spec ++++++
--- /var/tmp/diff_new_pack.slgSK1/_old  2017-06-23 09:19:08.031914969 +0200
+++ /var/tmp/diff_new_pack.slgSK1/_new  2017-06-23 09:19:08.035914403 +0200
@@ -36,17 +36,13 @@
 Patch2:         libpinyin-1.7.0-no-AX_CXX_COMPILE_STDCXX_11.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
-BuildRequires:  glib2-devel
 BuildRequires:  gnome-common
 BuildRequires:  intltool
+BuildRequires:  libkyotocabinet-devel
 BuildRequires:  libtool
+BuildRequires:  pkgconfig
 BuildRequires:  xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1140
-BuildRequires:  libdb-4_8-devel
-%else
-BuildRequires:  libdb-4_5-devel
-%endif
+BuildRequires:  pkgconfig(glib-2.0)
 
 %description
 libpinyin is an intelligent (and universal) sentence-based Pinyin IME
@@ -102,26 +98,31 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-NOCONFIGURE=1 ./autogen.sh
 
 %build
-%configure --disable-static
+NOCONFIGURE=1 ./autogen.sh
+%configure \
+    --disable-static \
+    --with-dbm=KyotoCabinet \
+    --disable-silent-rules
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 find %{buildroot} -type f -name "*.la" -delete -print
-%fdupes %{buildroot}/%{_prefix}
+%fdupes %{buildroot}
 
-%post -n %{name}%{sover} -p /sbin/ldconfig
+%check
+make %{?_smp_mflags} check
 
+%post -n %{name}%{sover} -p /sbin/ldconfig
 %postun -n %{name}%{sover} -p /sbin/ldconfig
 
 %files -n %{name}%{sover}
 %defattr(-,root,root)
 %doc ChangeLog AUTHORS COPYING README
 %{_libdir}/%{name}.so.*
-%{_mandir}/man1/libpinyin.1.gz
+%{_mandir}/man1/libpinyin.1%{ext_man}
 
 %files data
 %defattr(-,root,root)


Reply via email to