Hello community, here is the log from the commit of package opencc for openSUSE:Factory checked in at 2016-03-16 10:35:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-08-12 15:14:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.opencc.new/opencc.changes 2016-03-16 10:36:04.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Mar 12 08:24:11 UTC 2016 - i...@marguerite.su + +- update version 1.0.3.1 + +------------------------------------------------------------------- Old: ---- opencc-1.0.3.tar.gz New: ---- OpenCC-ver.1.0.3-1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opencc.spec ++++++ --- /var/tmp/diff_new_pack.xPSdsM/_old 2016-03-16 10:36:05.000000000 +0100 +++ /var/tmp/diff_new_pack.xPSdsM/_new 2016-03-16 10:36:05.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package opencc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,13 +17,13 @@ Name: opencc -Version: 1.0.3 +Version: 1.0.3.1 Release: 0 Summary: Open Chinese Convert License: Apache-2.0 Group: System/I18n/Chinese Url: https://github.com/BYVoid/OpenCC -Source: https://bintray.com/artifact/download/byvoid/%{name}/%{name}-%{version}.tar.gz +Source: https://github.com/BYVoid/OpenCC/archive/ver.1.0.3-1/OpenCC-ver.1.0.3-1.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config @@ -72,35 +72,24 @@ This package provides development headers for OpenCC. %prep -%setup -q +%setup -q -n OpenCC-ver.1.0.3-1 %build -mkdir -pv build -pushd build -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=Release .. -make +%cmake -DCMAKE_SKIP_RPATH=OFF -DSHARE_INSTALL_PREFIX="%{_datadir}/" +make %{?_smp_mflags} %install -pushd build -%makeinstall +%cmake_install +find %{buildroot} -name "*.a" -delete -print #fix libraries %if %{_lib} == lib64 -mkdir -pv %{buildroot}%{_prefix}/lib64/pkgconfig/ +mkdir -pv %{buildroot}%{_libdir}/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}%{_prefix}/lib/libopencc.a %endif -strip %{buildroot}%{_libdir}/libopencc.so.1.0.0 - -popd - -#%find_lang %{name} %post -n libopencc2 -p /sbin/ldconfig - %postun -n libopencc2 -p /sbin/ldconfig %files @@ -109,8 +98,6 @@ %{_bindir}/%{name} %{_bindir}/%{name}_dict %{_bindir}/%{name}_phrase_extract -# %{_mandir}/man1/%{name}.1.gz -# %{_mandir}/man1/%{name}_dict.1.gz %files data %defattr(-,root,root)