[sunpinyin] Fix the spec file for building fcitx-sunpinyin

Liang Suilong liangsuilong at fedoraproject.org
Sun Jul 29 09:58:33 UTC 2012


commit 7ecdc3b27984367f609c51483e67d74e811d05c2
Author: Fedora <fedora at fedora-desktop.(none)>
Date:   Sun Jul 29 17:57:59 2012 +0800

    Fix the spec file for building fcitx-sunpinyin

 sunpinyin.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sunpinyin.spec b/sunpinyin.spec
index 29853b5..0f9c5d9 100644
--- a/sunpinyin.spec
+++ b/sunpinyin.spec
@@ -3,7 +3,7 @@
 
 Name:		sunpinyin
 Version:	2.0.4
-Release:	0.4%{?dist}
+Release:	0.5%{?dist}
 Summary:	A statistical language model based Chinese input method engine
 Group:		System Environment/Libraries
 License:	LGPLv2 or CDDL
@@ -102,9 +102,9 @@ cp %SOURCE3 %{_builddir}/%{name}-%{gitdate}/raw
 scons %{?_smp_mflags} --prefix=%{_prefix}
 
 # We need to do this so wrappers can link against libsunpinyin 
+cp -p sunpinyin-2.0.pc sunpinyin-2.0.pc.bak
 sed -i 's\libdir=.*$\libdir=%{_builddir}/%{name}-%{gitdate}\' sunpinyin-*.pc
 sed -i 's\includedir=.*$\includedir=%{_builddir}/%{name}-%{gitdate}/src\' sunpinyin-*.pc
-cp -p sunpinyin-2.0.pc sunpinyin-2.0.pc.bak
 ln -s libsunpinyin.so.3.0 libsunpinyin.so
 export PKG_CONFIG_PATH=%{_builddir}/%{name}-%{gitdate}
 
@@ -198,6 +198,9 @@ fi
 %config %{_xinputconf}
 
 %changelog
+* Sun Jul 28 2012 Liang Suilong <liangsuilong at gmail.com> - 2.0.4-0.5
+- Fix the spec file for building fcitx-sunpinyin
+
 * Thu Jul 26 2012 Liang Suilong <liangsuilong at gmail.com> - 2.0.4-0.4
 - Upstream to the latest git snapshot
 


More information about the scm-commits mailing list