Fix Obsoletes (bug 822931)

This commit is contained in:
TASAKA Mamoru 2012-05-28 17:18:47 +09:00
parent 3802e6e489
commit 221a0ad4f0

View File

@ -32,7 +32,7 @@
Summary: An HTML, XML, SAX, and Reader parser
Name: rubygem-%{gemname}
Version: %{mainver}
Release: %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}%{?dist}
Release: %{?prever:0.}%{mainrel}%{?prever:.%{prerpmver}}%{?dist}.1
Group: Development/Languages
License: MIT
URL: http://nokogiri.rubyforge.org/nokogiri/
@ -47,6 +47,7 @@ BuildRequires: ruby(rubygems)
BuildRequires: rubygem(minitest)
%if 0%{?ruby19} > 0
BuildRequires: rubygems-devel
Obsoletes: ruby-%{gemname} <= 1.5.2-2
%endif
#BuildRequires: ruby(racc)
##
@ -57,7 +58,6 @@ BuildRequires: ruby-devel
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
Provides: rubygem(%{gemname}) = %{version}-%{release}
Obsoletes: ruby-%{gemname} <= 1.5.0-2
%description
Nokogiri parses and searches XML/HTML very quickly, and also has
@ -281,6 +281,9 @@ popd
%endif
%changelog
* Mon May 28 2012 Mamoru Tasaka <mtasaka@fedoraproject.org>
- Fix Obsoletes (bug 822931)
* Mon Apr 9 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.5.2-1
- 1.5.2