From 549c497d3bd3d4a1fee6613ad3e3696e718c0299 Mon Sep 17 00:00:00 2001 From: Bohuslav Kabrda Date: Jan 23 2012 15:08:01 +0000 Subject: Removed *.so files from %{gem_libdir}. --- diff --git a/rubygem-gherkin.spec b/rubygem-gherkin.spec index 53a998e..091cd50 100644 --- a/rubygem-gherkin.spec +++ b/rubygem-gherkin.spec @@ -4,7 +4,7 @@ Summary: Fast Gherkin lexer/parser Name: rubygem-%{gem_name} Version: 2.4.5 -Release: 3%{?dist} +Release: 4%{?dist} Group: Development/Languages License: MIT URL: http://github.com/aslakhellesoy/gherkin @@ -63,8 +63,8 @@ cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{gem_extdir}/lib -# the .so files go in the sitearch, so remove them from lib - +# the .so files go in the extdir, so remove them from lib +find %{buildroot}%{gem_instdir}/lib -iname '*.so' -exec rm -f {} \; find %{buildroot}%{gem_instdir}/ext -iname '*.so' -exec mv {} %{buildroot}%{gem_extdir}/lib \; # clean out any gitignore @@ -100,6 +100,9 @@ find %{buildroot} -iname '.gitignore' -exec rm -f {} \; %{gem_docdir} %changelog +* Mon Jan 23 2012 Bohuslav Kabrda - 2.4.5-4 +- Removed *.so files from %%{gem_libdir}. + * Mon Jan 23 2012 Bohuslav Kabrda - 2.4.5-3 - Rebuilt for Ruby 1.9.3. - Significantly simplified build process.