From 6c4e0dd0d70d1f02ca8322e0907a464e763fcbab Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 10 Sep 2013 21:55:36 +0000 Subject: Fix install of gems with several .so --- NEWS | 3 +++ build.macros.in | 2 +- configure.ac | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 25c9922..ca40452 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +Version 1.182 - 10 Sep 2013, by Pascal Terjan +- Fix install of gems with several .so + Version 1.181 - 10 Sep 2013, by Pascal Terjan - Support gems with the .so in a subdirectory 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 \ diff --git a/configure.ac b/configure.ac index c9d6bd5..6faa03e 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ # $Id: configure.ac 271266 2010-11-04 10:43:28Z fwang $ AC_PREREQ(2.59) -AC_INIT(rpm-mageia-setup, 1.181, pterjan@mageia.org) +AC_INIT(rpm-mageia-setup, 1.182, pterjan@mageia.org) AC_CANONICAL_TARGET AM_INIT_AUTOMAKE(1.9 -Wno-portability no-dist-gzip dist-xz) AC_CONFIG_SRCDIR -- cgit v1.2.1