diff options
author | Pascal Terjan <pterjan@gmail.com> | 2013-09-10 21:55:36 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2013-09-10 21:55:36 +0000 |
commit | 6c4e0dd0d70d1f02ca8322e0907a464e763fcbab (patch) | |
tree | 8cfe7f9c8ce8f07f074cd51cee0756bfc3d0a45e /build.macros.in | |
parent | 756eaa29d2086e36aefb8549a21baba792945869 (diff) | |
download | rpm-setup-6c4e0dd0d70d1f02ca8322e0907a464e763fcbab.tar rpm-setup-6c4e0dd0d70d1f02ca8322e0907a464e763fcbab.tar.gz rpm-setup-6c4e0dd0d70d1f02ca8322e0907a464e763fcbab.tar.bz2 rpm-setup-6c4e0dd0d70d1f02ca8322e0907a464e763fcbab.tar.xz rpm-setup-6c4e0dd0d70d1f02ca8322e0907a464e763fcbab.zip |
Fix install of gems with several .so1.182
Diffstat (limited to 'build.macros.in')
-rw-r--r-- | build.macros.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.macros.in b/build.macros.in index c12586a..584c470 100644 --- a/build.macros.in +++ b/build.macros.in @@ -506,7 +506,7 @@ sed -i -e 's/`git ls-files`/`find -type f`/' \\\ --bindir %{buildroot}%{_bindir} \ rm -fr %{buildroot}%{ruby_gemdir}/{cache,gems/%{__ruby_module_name}-%{version}/ext,gems/%{__ruby_module_name}-%{version}/%{__ruby_module_name}.gemspec} \ (cd %{buildroot}%{ruby_gemdir}/gems/%{__ruby_module_name}-%{version}/lib ; \\\ - for f in $(find -name *.so); do \\\ + for f in $(find -name '*.so'); do \\\ mkdir -p %{buildroot}%{ruby_sitearchdir}/$(dirname $f); \\\ mv $f %{buildroot}%{ruby_sitearchdir}/$f; done ) \ find %{buildroot}%{ruby_gemdir}/gems/%{__ruby_module_name}-%{version} -maxdepth 1 -type f -delete \ |