Hello community,

here is the log from the commit of package libchewing for openSUSE:Factory 
checked in at 2013-01-29 14:15:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libchewing (Old)
 and      /work/SRC/openSUSE:Factory/.libchewing.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libchewing", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libchewing/libchewing.changes    2013-01-20 
08:21:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libchewing.new/libchewing.changes       
2013-01-29 14:15:35.000000000 +0100
@@ -1,0 +2,8 @@
+Thu Jan 24 20:10:59 UTC 2013 - [email protected]
+
+- Parallel build with %_smp_mflags
+- Remove redundant %clean, authors sections
+- Avoid requires on library, the other way is preferred
+  (library requires data package)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libchewing.spec ++++++
--- /var/tmp/diff_new_pack.xqmD7B/_old  2013-01-29 14:15:36.000000000 +0100
+++ /var/tmp/diff_new_pack.xqmD7B/_new  2013-01-29 14:15:36.000000000 +0100
@@ -17,64 +17,42 @@
 
 
 Name:           libchewing
+%define lname  libchewing3
 Version:        0.3.4
 Release:        0
-BuildRequires:  check-devel
-BuildRequires:  libtool
-BuildRequires:  pkg-config
 Url:            http://chewing.csie.net/
-Source0:        
http://chewing.csie.net/download/libchewing/%{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Intelligent Phonetic Input Method Library for Traditional 
Chinese
 License:        LGPL-2.1+
 Group:          System/I18n/Chinese
-Requires:       libchewing3 = %{version}
+
+Source0:        
http://chewing.csie.net/download/libchewing/%{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf >= 2.67
+BuildRequires:  check-devel
+BuildRequires:  libtool
+BuildRequires:  pkg-config
 
 %description
 Intelligent phonetic input method library for traditional Chinese.
 
-
-
-Authors:
---------
-    Jim Huang <[email protected]>
-    Kanru Chen <[email protected]>
-    Yun-Ta Tsai <[email protected]>
-    Kang-min Liu <[email protected]>
-    Wei-zhong Yang <[email protected]>
-    Kuang-che Wu <[email protected]>
-    Shiva Huang <[email protected]>
-    Lu-chuan Kung <[email protected]>
-    Kang-pen Chen <[email protected]>
-
 %package devel
 Summary:        Development package for chewing
 Group:          Development/Libraries/Other
-Requires:       %{name} = %{version}
+Requires:       %lname = %version
 Requires:       glibc-devel
 
 %description devel
 Development package for chewing (An Intelligent phonetic input method library 
for traditional Chinese)
 
-
-Authors:
---------
-    Jim Huang <[email protected]>
-    Kanru Chen <[email protected]>
-    Yun-Ta Tsai <[email protected]>
-    Kang-min Liu <[email protected]>
-    Wei-zhong Yang <[email protected]>
-    Kuang-che Wu <[email protected]>
-    Shiva Huang <[email protected]>
-    Lu-chuan Kung <[email protected]>
-    Kang-pen Chen <[email protected]>
-
-%package -n libchewing3
+%package -n %lname
 Summary:        Chewing libraries
 Group:          System/Libraries
+# The package with the data files is needed
+Requires:       %name = %version
 
-%description -n libchewing3
-This package contains libraries for Chewing
+%description -n %lname
+This package contains libraries for Chewing, an intelligent phonetic
+input method library for traditional Chinese.
 
 %prep
 %setup -q
@@ -85,7 +63,7 @@
 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
 %configure --disable-static --with-pic 
 
-%{__make} %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 make DESTDIR=${RPM_BUILD_ROOT} install
@@ -97,14 +75,9 @@
 %postun
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/libchewing.info.gz
 
-%post -n libchewing3
-/sbin/ldconfig
-
-%postun -n libchewing3
-/sbin/ldconfig
+%post -n libchewing3 -p /sbin/ldconfig
 
-%clean
-%{__rm} -rf %{buildroot}
+%postun -n libchewing3 -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
@@ -113,7 +86,7 @@
 %{_libdir}/libchewing/*
 %{_infodir}/*.gz
 
-%files -n libchewing3
+%files -n %lname
 %defattr(-, root, root)
 %{_libdir}/libchewing.so.*
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.xqmD7B/_old  2013-01-29 14:15:36.000000000 +0100
+++ /var/tmp/diff_new_pack.xqmD7B/_new  2013-01-29 14:15:36.000000000 +0100
@@ -1,2 +1,3 @@
 libchewing
 libchewing3
+       requires "libchewing-<targettype> = <version>"

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

Reply via email to