[rubygem-gherkin] Removed *.so files from %{gem_libdir}.

Bohuslav Kabrda bkabrda at fedoraproject.org
Mon Jan 23 15:08:16 UTC 2012


commit 549c497d3bd3d4a1fee6613ad3e3696e718c0299
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Mon Jan 23 16:08:01 2012 +0100

    Removed *.so files from %{gem_libdir}.

 rubygem-gherkin.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
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 <bkabrda at redhat.com> - 2.4.5-4
+- Removed *.so files from %%{gem_libdir}.
+
 * Mon Jan 23 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 2.4.5-3
 - Rebuilt for Ruby 1.9.3.
 - Significantly simplified build process.


More information about the scm-commits mailing list