[rubygem-nokogiri] Fix Obsoletes (bug 822931)
Mamoru Tasaka
mtasaka at fedoraproject.org
Mon May 28 08:18:29 UTC 2012
commit 6b664d7b60a38eff9c6985cd9a04c2bf5941b7c9
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date: Mon May 28 17:18:24 2012 +0900
Fix Obsoletes (bug 822931)
rubygem-nokogiri.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec
index 1afcbfa..375890a 100644
--- a/rubygem-nokogiri.spec
+++ b/rubygem-nokogiri.spec
@@ -4,7 +4,7 @@
%global mainver 1.5.2
#%%global prever .beta.4
-%global mainrel 1
+%global mainrel 3
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
@@ -46,6 +46,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)
##
@@ -56,7 +57,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
@@ -243,7 +243,7 @@ popd
%defattr(-,root, root,-)
%{_bindir}/%{gemname}
%if 0%{?ruby19} < 1
-%{ruby_sitearch}/*.so
+%{ruby_sitearch}/%{gemname}
%else
%{gem_extdir}/
%endif
@@ -280,6 +280,9 @@ popd
%endif
%changelog
+* Mon May 28 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.5.2-3
+- Fix Obsoletes (bug 822931)
+
* Mon Apr 9 2012 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.5.2-1
- 1.5.2
More information about the scm-commits
mailing list