From 221a0ad4f0ae0a6a5ec2c08fc02e52a40c29569d Mon Sep 17 00:00:00 2001 From: TASAKA Mamoru Date: Mon, 28 May 2012 17:18:47 +0900 Subject: [PATCH] Fix Obsoletes (bug 822931) --- rubygem-nokogiri.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec index 4b43b0f..03c1dda 100644 --- a/rubygem-nokogiri.spec +++ b/rubygem-nokogiri.spec @@ -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 +- Fix Obsoletes (bug 822931) + * Mon Apr 9 2012 Mamoru Tasaka - 1.5.2-1 - 1.5.2