From 56d430e19a5c5e9c427ba76550ca031bf85d12b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 30 Apr 2013 14:39:52 +0200 Subject: [PATCH] Introduce %{gem_archdir} macro. --- macros.rubygems | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macros.rubygems b/macros.rubygems index 2856b21..b82a9fb 100644 --- a/macros.rubygems +++ b/macros.rubygems @@ -1,9 +1,10 @@ # The RubyGems root folder. %gem_dir %{_datadir}/gems +%gem_archdir %{_libdir}/gems # Common gem locations and files. %gem_instdir %{gem_dir}/gems/%{gem_name}-%{version} -%gem_extdir_mri %{_libdir}/gems/%{name}/%{gem_name}-%{version} +%gem_extdir_mri %{gem_archdir}/%{name}/%{gem_name}-%{version} %gem_libdir %{gem_instdir}/lib %gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem %gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec