Hello community,

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

Package is "opencc", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/opencc/opencc.changes    2012-06-26 
17:09:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.opencc.new/opencc.changes       2012-11-12 
07:04:36.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Nov  5 01:09:40 UTC 2012 - [email protected]
+
+- split a data package to be required by library.
+  fix a conversion crash bug in fcitx.
+
+-------------------------------------------------------------------

Old:
----
  opencc-0.3.0git.1324715872.tar.bz2

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

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

Other differences:
------------------
++++++ opencc.spec ++++++
--- /var/tmp/diff_new_pack.LUqCFD/_old  2012-11-12 07:04:37.000000000 +0100
+++ /var/tmp/diff_new_pack.LUqCFD/_new  2012-11-12 07:04:37.000000000 +0100
@@ -17,11 +17,11 @@
 
 
 Name:           opencc
-Version:        0.3.0git.1324715872
+Version:        0.3.0.git20121105
 Release:        0
 Summary:        Open Chinese Convert
 License:        Apache-2.0
-Group:          System/Libraries
+Group:          System/I18n/Chinese
 Url:            http://code.google.com/p/opencc
 Source:         %{name}-%{version}.tar.bz2
 BuildRequires:  cmake
@@ -30,14 +30,33 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-An opensource project for conversion between Traditional Chinese and 
Simplified Chinese, which supports phrase-level conversion and regional idioms 
among Mainland China, Taiwan and Hong kong.
+OpenCC is an opensource project for conversion between Traditional 
+Chinese and Simplified Chinese, which supports phrase-level conversion 
+and regional idioms among Mainland China, Taiwan and Hong kong.
 
 %package -n libopencc1
 Summary:        Open Chinese Convert
 Group:          System/Libraries
+Requires:       %{name}-data
 
 %description -n libopencc1
-An opensource project for conversion between Traditional Chinese and 
Simplified Chinese, which supports phrase-level conversion and regional idioms 
among Mainland China, Taiwan and Hong kong.
+OpenCC is an opensource project for conversion between Traditional 
+Chinese and Simplified Chinese, which supports phrase-level conversion 
+and regional idioms among Mainland China, Taiwan and Hong kong.
+
+This package provides shared libraries of OpenCC.
+
+%package data
+Summary:        Dictionaries for Open Chinese Convert
+Group:          System/I18n/Chinese
+
+%description data
+OpenCC is an opensource project for conversion between Traditional 
+Chinese and Simplified Chinese, which supports phrase-level conversion 
+and regional idioms among Mainland China, Taiwan and Hong kong.
+
+This package provides dictionaries and patterns used by libraries/
+binaries of OpenCC.
 
 %package devel
 Summary:        Open Chinese Convert
@@ -45,7 +64,11 @@
 Requires:       %{name} = %{version}
 
 %description devel
-An opensource project for conversion between Traditional Chinese and 
Simplified Chinese, which supports phrase-level conversion and regional idioms 
among Mainland China, Taiwan and Hong kong.
+OpenCC is an opensource project for conversion between Traditional 
+Chinese and Simplified Chinese, which supports phrase-level conversion 
+and regional idioms among Mainland China, Taiwan and Hong kong.
+
+This package provides development headers for OpenCC.
 
 %prep
 %setup -q
@@ -84,6 +107,11 @@
 %doc AUTHORS NEWS
 %{_bindir}/%{name}
 %{_bindir}/%{name}_dict
+%{_mandir}/man1/%{name}.1.gz
+%{_mandir}/man1/%{name}_dict.1.gz
+
+%files data
+%defattr(-,root,root)
 %{_datadir}/%{name}/
 
 %files -n libopencc1
@@ -96,7 +124,5 @@
 %{_includedir}/%{name}/
 %{_libdir}/libopencc.so
 %{_libdir}/pkgconfig/opencc.pc
-%{_mandir}/man1/%{name}.1.gz
-%{_mandir}/man1/%{name}_dict.1.gz
 
 %changelog

++++++ _service ++++++
--- /var/tmp/diff_new_pack.LUqCFD/_old  2012-11-12 07:04:37.000000000 +0100
+++ /var/tmp/diff_new_pack.LUqCFD/_new  2012-11-12 07:04:37.000000000 +0100
@@ -1,13 +1,13 @@
 <services>
-       <service name="tar_scm" mode="localonly">
+       <service name="tar_scm" mode="disabled">
                <param name="versionprefix">0.3.0git</param>
                <param name="url">git://github.com/BYVoid/OpenCC.git</param>
                <param name="filename">opencc</param>
                <param name="scm">git</param>
        </service>
-       <service name="recompress" mode="localonly">
+       <service name="recompress" mode="disabled">
                <param name="file">*.tar</param>
                <param name="compression">bz2</param>
        </service>
-       <service name="set_version" mode="localonly"/>
+       <service name="set_version" mode="disabled"/>
 </services>

++++++ opencc-0.3.0git.1324715872.tar.bz2 -> opencc-0.3.0.git20121105.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/opencc-0.3.0git.1324715872/src/tools/opencc.c 
new/opencc-0.3.0.git20121105/src/tools/opencc.c
--- old/opencc-0.3.0git.1324715872/src/tools/opencc.c   2012-02-16 
16:37:50.000000000 +0100
+++ new/opencc-0.3.0.git20121105/src/tools/opencc.c     2012-11-05 
01:59:50.000000000 +0100
@@ -154,7 +154,7 @@
        static int oc;
        static char *input_file, *output_file, *config_file;
 
-       while((oc = getopt_long(argc, argv, "vh:i:o:c:", longopts, NULL)) != -1)
+       while((oc = getopt_long(argc, argv, "vh?i:o:c:", longopts, NULL)) != -1)
        {
                switch (oc)
                {
@@ -162,11 +162,9 @@
                        show_version();
                        return 0;
                case 'h':
+               case '?':
                        show_usage();
                        return 0;
-               case '?':
-                       printf(_("Please use %s --help.\n"), argv[0]);
-                       return 1;
                case 'i':
                        input_file = mstrcpy(optarg);
                        break;

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

Reply via email to