[rubygem-clouddb] Configured for epel

Alejandro Perez aeperezt at fedoraproject.org
Sun Dec 30 18:47:17 UTC 2012


commit f681b3c666356aef7a792d6f082c6656cb3080b5
Author: alejandro <alejandro at dejami.com>
Date:   Sun Dec 30 13:47:02 2012 -0500

    Configured for epel

 rubygem-clouddb.spec |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/rubygem-clouddb.spec b/rubygem-clouddb.spec
index fdc8cca..f8926af 100644
--- a/rubygem-clouddb.spec
+++ b/rubygem-clouddb.spec
@@ -1,7 +1,16 @@
 %global gem_name clouddb 
+%global gem_dir /usr/lib/ruby/gems/1.8
+%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
+%global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
+%global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
+%global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
+
+%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
+
+%global rubyabi 1.8
 Name:		rubygem-%{gem_name}
 Version:	0.0.1
-Release:	3%{?dist}
+Release:	1%{?dist}
 Summary:	This is a Ruby interface into the Rackspace Cloud DB service
 
 Group:		Development/Languages
@@ -12,7 +21,7 @@ Source0:	http://rubygems.org/downloads/%{gem_name}-%{version}.gem
 BuildRequires:	ruby
 BuildRequires:	rubygems-devel
 Requires:	rubygem(typhoeus)
-Requires:	ruby(abi) = 1.9.1
+Requires:	ruby(abi) = %{rubyabi}
 Requires:	ruby(rubygems)
 Requires:	rubygem(json)
 BuildArch:	noarch
@@ -70,10 +79,6 @@ sed -i '1d' %{buildroot}%{gem_libdir}/clouddb.rb
 %doc %{gem_docdir}
 
 %changelog
-* Thu Oct 21 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.0.1-3
-- Fix documentation dir warning
-* Thu Sep 27 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.0.1-2
-- Fix delete unneeded macros and change source so it use macros
-* Thu Aug 30 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.0.1-1
+* Sun Dec 30 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.0.1-1
 - Initial package
 


More information about the scm-commits mailing list