commit fcitx-sunpinyin for openSUSE:Factory
Hello community, here is the log from the commit of package fcitx-sunpinyin for openSUSE:Factory checked in at 2012-06-26 15:33:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcitx-sunpinyin (Old) and /work/SRC/openSUSE:Factory/.fcitx-sunpinyin.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "fcitx-sunpinyin", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/fcitx-sunpinyin/fcitx-sunpinyin.changes 2012-06-07 15:38:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fcitx-sunpinyin.new/fcitx-sunpinyin.changes 2012-06-26 15:33:01.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Jun 25 11:22:28 UTC 2012 - i@marguerite.su + +- fix fedora and sles builds. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcitx-sunpinyin.spec ++++++ --- /var/tmp/diff_new_pack.Sw19FR/_old 2012-06-26 15:33:02.000000000 +0200 +++ /var/tmp/diff_new_pack.Sw19FR/_new 2012-06-26 15:33:02.000000000 +0200 @@ -28,10 +28,14 @@ BuildRequires: pango-devel BuildRequires: cmake BuildRequires: fdupes +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +%endif BuildRequires: sunpinyin-devel BuildRequires: fcitx-devel BuildRequires: gcc-c++ -BuildRequires: dbus-1-devel BuildRequires: intltool BuildRequires: libtool #Source: http://fcitx.googlecode.com/files/%{name}-%{version}.tar.xz @@ -60,7 +64,12 @@ %build %{__mkdir} -pv build pushd build -cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} \ +%if 0%{?suse_version} < 1140 +CXXFLAGS="%{optflags} -I/usr/include/sunpinyin-2.0/" cmake \ +%else +cmake \ +%endif + -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} \ .. make @@ -72,7 +81,11 @@ %{__strip} %{buildroot}%{_libdir}/fcitx/%{name}.so +%if 0%{?suse_version} %fdupes %{buildroot} +%else +fdupes -qnr %{buildroot} +%endif %files -f %{name}.lang %defattr(-,root,root) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de