Hello community,

here is the log from the commit of package opencc for openSUSE:Factory checked 
in at 2013-07-04 10:12:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opencc (Old)
 and      /work/SRC/openSUSE:Factory/.opencc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opencc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/opencc/opencc.changes    2012-11-12 
07:04:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.opencc.new/opencc.changes       2013-07-04 
10:12:42.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Jul  2 13:58:43 UTC 2013 - [email protected]
+
+- update version 0.4.3
+  * add interface: `opencc_convert_utf8_free`
+  * fix memeory leak problem for nodejs plugin
+
+-------------------------------------------------------------------

Old:
----
  opencc-0.3.0.git20121105.tar.bz2

New:
----
  opencc-0.4.3.tar.gz

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

Other differences:
------------------
++++++ opencc.spec ++++++
--- /var/tmp/diff_new_pack.HDo5nJ/_old  2013-07-04 10:12:43.000000000 +0200
+++ /var/tmp/diff_new_pack.HDo5nJ/_new  2013-07-04 10:12:43.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package opencc
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
 
 
 Name:           opencc
-Version:        0.3.0.git20121105
+Version:        0.4.3
 Release:        0
 Summary:        Open Chinese Convert
 License:        Apache-2.0
 Group:          System/I18n/Chinese
 Url:            http://code.google.com/p/opencc
-Source:         %{name}-%{version}.tar.bz2
+Source:         https://opencc.googlecode.com/files/%{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  gettext
 BuildRequires:  pkg-config
@@ -74,25 +74,25 @@
 %setup -q
 
 %build
-%{__mkdir} -pv build
+mkdir -pv build
 pushd build
 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=Release 
-DENABLE_GETTEXT:BOOL=ON ..
 make
 
 %install
 pushd build
-make DESTDIR=%{buildroot} install
+%makeinstall
 
 #fix libraries
 %if %{_lib} == lib64
-%{__mkdir} -pv %{buildroot}/usr/lib64/pkgconfig/
-%{__mv} %{buildroot}/usr/lib/pkgconfig/* %{buildroot}%{_libdir}/pkgconfig/
-%{__mv} %{buildroot}/usr/lib/libopencc.* %{buildroot}%{_libdir}
-%{__rm} -rf %{buildroot}%{_libdir}/libopencc.a
+mkdir -pv %{buildroot}%{_prefix}/lib64/pkgconfig/
+mv %{buildroot}%{_prefix}/lib/pkgconfig/* %{buildroot}%{_libdir}/pkgconfig/
+mv %{buildroot}%{_prefix}/lib/libopencc.* %{buildroot}%{_libdir}
+rm -rf %{buildroot}%{_libdir}/libopencc.a
 %else
-%{__rm} -rf %{buildroot}/usr/lib/libopencc.a
+rm -rf %{buildroot}%{_prefix}/lib/libopencc.a
 %endif
-%{__strip} %{buildroot}%{_libdir}/libopencc.so.1.0.0
+strip %{buildroot}%{_libdir}/libopencc.so.1.0.0
 
 popd
 
@@ -104,7 +104,7 @@
 
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc AUTHORS NEWS
+%doc AUTHORS NEWS.md LICENSE README.md
 %{_bindir}/%{name}
 %{_bindir}/%{name}_dict
 %{_mandir}/man1/%{name}.1.gz

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to