[rubygem-xmpp4r-simple] Rebuilt for Ruby 1.9.3.

Vít Ondruch vondruch at fedoraproject.org
Thu Feb 2 14:02:43 UTC 2012


commit 233481bec71bcf02d7c5f88a51e8cc9ce17e84e1
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Thu Feb 2 15:02:36 2012 +0100

    Rebuilt for Ruby 1.9.3.

 rubygem-xmpp4r-simple.spec |   49 ++++++++++++++++++++++---------------------
 1 files changed, 25 insertions(+), 24 deletions(-)
---
diff --git a/rubygem-xmpp4r-simple.spec b/rubygem-xmpp4r-simple.spec
index 9eb0dd3..e374fb2 100644
--- a/rubygem-xmpp4r-simple.spec
+++ b/rubygem-xmpp4r-simple.spec
@@ -1,26 +1,24 @@
-%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
-%global gemname xmpp4r-simple
-%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
+%global gem_name xmpp4r-simple
 %global rubyabi 1.8
 
 Summary: A simplified Jabber client library
-Name: rubygem-%{gemname}
+Name: rubygem-%{gem_name}
 Version: 0.8.8
-Release: 4%{?dist}
+Release: 5%{?dist}
 Group: Development/Languages
 License: GPLv2+
 URL: http://xmpp4r-simple.rubyforge.org/
-Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
+Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: rubygems
+Requires: ruby(rubygems)
 Requires: ruby(abi) = %{rubyabi}
 Requires: rubygem(xmpp4r)
-BuildRequires: rubygems
-BuildRequires: rubygem(rake)
-BuildRequires: rubygem(rcov)
-BuildRequires: rubygem(xmpp4r)
+BuildRequires: rubygems-devel
+#BuildRequires: rubygem(rake)
+#BuildRequires: rubygem(rcov)
+#BuildRequires: rubygem(xmpp4r)
 BuildArch: noarch
-Provides: rubygem(%{gemname}) = %{version}
+Provides: rubygem(%{gem_name}) = %{version}
 
 %description
 Jabber::Simple takes the strong foundation laid by xmpp4r and hides the
@@ -41,8 +39,8 @@ This package contains documentation and examples for %{name}.
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}%{gemdir}
-gem install --local --install-dir %{buildroot}%{gemdir} \
+mkdir -p %{buildroot}%{gem_dir}
+gem install --local --install-dir %{buildroot}%{gem_dir} \
             --force --rdoc %{SOURCE0}
 
 %clean
@@ -51,27 +49,30 @@ rm -rf %{buildroot}
 %if 0
 # The test cases require a running XMPP server
 %check
-pushd %{buildroot}%{geminstdir}/test
+pushd %{buildroot}%{gem_instdir}/test
 ruby test_xmpp4r_simple.rb 
 popd
 %endif
 
 %files
 %defattr(-, root, root, -)
-%dir %{geminstdir}/
-%doc %{geminstdir}/README
-%doc %{geminstdir}/COPYING
-%doc %{geminstdir}/CHANGELOG
-%{geminstdir}/lib/
-%{gemdir}/cache/%{gemname}-%{version}.gem
-%{gemdir}/specifications/%{gemname}-%{version}.gemspec
+%dir %{gem_instdir}/
+%doc %{gem_instdir}/README
+%doc %{gem_instdir}/COPYING
+%doc %{gem_instdir}/CHANGELOG
+%{gem_libdir}/
+%{gem_cache}
+%{gem_spec}
 
 %files doc
 %defattr(-, root, root, -)
-%{gemdir}/doc/%{gemname}-%{version}
-%{geminstdir}/test
+%{gem_docdir}
+%{gem_instdir}/test
 
 %changelog
+* Thu Feb 02 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.8.8-5
+- Rebuilt for Ruby 1.9.3.
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.8-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list