[libpinyin] add requires

Peng Wu pwu at fedoraproject.org
Thu Oct 27 06:02:20 UTC 2011


commit c5a3b8596b24e14651e576bd3d824f7090b1489b
Author: Peng Wu <alexepico at gmail.com>
Date:   Thu Oct 27 14:00:41 2011 +0800

    add requires

 libpinyin.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libpinyin.spec b/libpinyin.spec
index 5e0bdcc..da9cc98 100644
--- a/libpinyin.spec
+++ b/libpinyin.spec
@@ -1,6 +1,6 @@
 Name:           libpinyin
 Version:        0.2.99.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Library to deal with pinyin
 
 License:        GPLv2+
@@ -9,7 +9,7 @@ Source0:        https://github.com/downloads/libpinyin/libpinyin/%{name}-%{versi
 Patch0:         libpinyin-0.3.x-head.patch
 
 BuildRequires:  db4-devel, glib2-devel
-#Requires:       
+Requires:       %{name}-data = %{version}-%{release}
 
 %description
 The libpinyin project aims to provide the algorithms core
@@ -70,6 +70,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 %{_datadir}/libpinyin/data
 
 %changelog
+* Thu Oct 27 2011  Peng Wu <pwu at redhat.com> - 0.2.99.2-3
+- Add requires
+
 * Thu Oct 27 2011  Peng Wu <pwu at redhat.com> - 0.2.99.2-2
 - Add patch libpinyin-0.3.x-head.patch
 


More information about the scm-commits mailing list