From e5651f3d9957214bb9b6a277329372cc73a8c29d Mon Sep 17 00:00:00 2001 From: Ding-Yi Chen Date: Thu, 22 Nov 2012 15:28:39 +1000 Subject: [PATCH] RPM Macro: define is replaced by global. --- libchewing.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/libchewing.spec b/libchewing.spec index 07e6f17..55c7877 100644 --- a/libchewing.spec +++ b/libchewing.spec @@ -1,8 +1,8 @@ -%define im_name_zh_TW 新酷音輸入法 -%define name_zh_TW %{im_name_zh_TW}函式庫 +%global im_name_zh_TW 新酷音輸入法 +%global name_zh_TW %{im_name_zh_TW}函式庫 Name: libchewing Version: 0.3.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Intelligent phonetic input method library for Traditional Chinese Summary(zh_TW): %{name_zh_TW} @@ -30,8 +30,8 @@ Source0: https://github.com/downloads/chewing/libchewing/%{name}-%{versi Patch15: libchewing-0.3.3.multilibConflict.patch -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%define libchewing_python_dir %{python_sitearch}/%{name} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%global libchewing_python_dir %{python_sitearch}/%{name} BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: autoconf automake libtool pkgconfig @@ -138,6 +138,9 @@ touch %{buildroot}%{libchewing_python_dir}/__init__.py %{libchewing_python_dir} %changelog +* Thu Nov 22 2012 Ding-Yi Chen - 0.3.3-5 +- RPM Macro: define is replaced by global. + * Tue Nov 20 2012 Ding-Yi Chen - 0.3.3-4 - BuildRequires for libchewing-python changed from python-devel to python2-devel