[rubygem-openstack-quantum-client/el6: 3/3] Added the changes for the epel

Alejandro Perez aeperezt at fedoraproject.org
Sun Dec 30 20:13:35 UTC 2012


commit 97d4ca0c72cc5e000bcc8fd4c9371385f3edaa44
Author: Alejandro Pérez <alejandro.perez.torres at gmail.com>
Date:   Sun Dec 30 15:13:19 2012 -0500

    Added the changes for the epel

 rubygem-openstack-quantum-client.spec |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/rubygem-openstack-quantum-client.spec b/rubygem-openstack-quantum-client.spec
index fdc9872..12c1fff 100644
--- a/rubygem-openstack-quantum-client.spec
+++ b/rubygem-openstack-quantum-client.spec
@@ -1,8 +1,18 @@
 %global gem_name openstack-quantum-client 
-%global rubyabi 1.9.1
+%global gem_name sequel
+%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}
+%global gem_libdir %{gem_instdir}/lib
+%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
+
+%global rubyabi 1.8
+
 Name:		rubygem-%{gem_name}
 Version:	0.1.5
-Release:	3%{?dist}
+Release:	1%{?dist}
 Summary:	The main objective of this gem is to deal easily with openstack quantum
 
 Group:		Development/Languages
@@ -11,9 +21,10 @@ URL:		http://rubygems.org/gems/openstack-quantum-client
 Source0:	https://rubygems.org/downloads/%{gem_name}-%{version}.gem
 
 BuildRequires:	ruby
-BuildRequires:	rubygems-devel
+BuildRequires:	ruby-devel
 BuildRequires:	rubygem(fakeweb)
 BuildRequires:	rubygem(rspec)
+Requires:	ruby
 Requires:	ruby(abi) = %{rubyabi}
 Requires:	ruby(rubygems)
 Requires:	rubygem(httparty)
@@ -74,10 +85,6 @@ sed -i '1d' %{buildroot}%{gem_instdir}/Rakefile
 %doc %{gem_docdir}
 
 %changelog
-* Sun Oct 29 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.1.5-3
-- fix doc dir macro
-* Sun Oct 15 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.1.5-2
-- changed global variables
-* Sun Sep 02 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.1.5-1
+* Sun Dec 30 2012 Alejandro Pérez <aeperezt at fedoraproject.org> - 0.1.5-1
 - Initial package
 


More information about the scm-commits mailing list