add requires

This commit is contained in:
Peng Wu 2011-10-27 14:00:41 +08:00
parent 22e129f1b8
commit c5a3b8596b

View File

@ -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@redhat.com> - 0.2.99.2-3
- Add requires
* Thu Oct 27 2011 Peng Wu <pwu@redhat.com> - 0.2.99.2-2
- Add patch libpinyin-0.3.x-head.patch