[rubygem-ffi/el6] Add the gem macros which rubygems-devel would have provided

Bryan Kearney bkearney at fedoraproject.org
Thu Jan 3 18:58:33 UTC 2013


commit ea651d59979a1b9a91b5c10325959a8d85e746d2
Author: Bryan Kearney <bkearney at redhat.com>
Date:   Thu Jan 3 13:56:23 2013 -0500

    Add the gem macros which rubygems-devel would have provided

 rubygem-ffi.spec |   21 ++++++++++++++++-----
 1 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/rubygem-ffi.spec b/rubygem-ffi.spec
index ebd7ae3..2d9f5e9 100644
--- a/rubygem-ffi.spec
+++ b/rubygem-ffi.spec
@@ -1,9 +1,17 @@
-%global gem_name ffi
-%global libname %{gem_name}_c.so
-%global githubhash b79eb61
-%global githubbuild 0
-%global tarballname ffi-ffi-%{version}-%{githubbuild}-g%{githubhash}
+%global gem_name        ffi
+%global libname         %{gem_name}_c.so
+%global githubhash      b79eb61
+%global githubbuild     0
+%global tarballname     ffi-ffi-%{version}-%{githubbuild}-g%{githubhash}
 %global gitinternalname ffi-ffi-%{githubhash}
+%global gem_dir         /usr/share/rubygems
+%global gem_instdir     %{gem_dir}/gems/%{gem_name}-%{version}
+%global gem_libdir      %{gem_instdir}/lib
+%global gem_cache       %{gem_dir}/cache/%{gem_name}-%{version}.gem
+%global gem_spec        %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
+%global gem_extdir      %{_libdir}/gems/exts/%{gem_name}-%{version}
+%global gem_docdir      %{gem_dir}/doc/%{gem_name}-%{version}
+
 
 Name:           rubygem-%{gem_name}
 Version:        1.0.9
@@ -83,6 +91,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Thu 03 2013 Bryan Kearney <bkearney at redhat.com> - 1.0.9-7
+- Add the gem macros which rubygems-devel would have provided
+
 * Wed Jan 01 2013 Bryan Kearney <bkearney at redhat.com> - 1.0.9-6
 - Change dependency to rubygems instead of rubgems-devel
 


More information about the scm-commits mailing list