Fix Obsoletes (bug 822931)
This commit is contained in:
parent
dfc11c7870
commit
b03de4de24
@ -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@fedoraproject.org> - 1.5.2-3
|
||||
- Fix Obsoletes (bug 822931)
|
||||
|
||||
* Mon Apr 9 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.5.2-1
|
||||
- 1.5.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user