From c5a3b8596b24e14651e576bd3d824f7090b1489b Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Thu, 27 Oct 2011 14:00:41 +0800 Subject: [PATCH] add requires --- libpinyin.spec | 7 +++++-- 1 file 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 - 0.2.99.2-3 +- Add requires + * Thu Oct 27 2011 Peng Wu - 0.2.99.2-2 - Add patch libpinyin-0.3.x-head.patch