aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in
index 04000ea..f0d222c 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -514,7 +514,7 @@ sed -i -e 's/`git ls-files`/`find -type f`/' \\\
--env-shebang --rdoc --ri --force --ignore-dependencies \\\
--install-dir %{buildroot}%{ruby_gemdir} \\\
--bindir %{buildroot}%{_bindir} \
- EXTPATH=$(ruby -e "puts Gem::Specification.new('%{__ruby_module_name}.gemspec').require_paths.join(' ')") \
+ EXTPATH=$(ruby -e "puts Gem::Specification.load('%{__ruby_module_name}.gemspec').require_paths.join(' ')") \
%{-d: \
(cd %{buildroot}%{gem_instdir}; \\\
for f in $(find $EXTPATH -name *.h); do \\\