[packages/ruby-ffi-yajl] avoid libyajl2 dep

glen glen at pld-linux.org
Mon Dec 22 16:27:11 CET 2014


commit fd4095973c3361497831e156419dbac907e8804a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 22 17:27:01 2014 +0200

    avoid libyajl2 dep

 ruby-ffi-yajl.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/ruby-ffi-yajl.spec b/ruby-ffi-yajl.spec
index 36f3e6f..b09b331 100644
--- a/ruby-ffi-yajl.spec
+++ b/ruby-ffi-yajl.spec
@@ -50,6 +50,9 @@ Ruby FFI wrapper around YAJL 2.x
 # write .gemspec
 %__gem_helper spec
 
+# provided by rpm deps
+%{__sed} -i -e '/libyajl2/d' %{pkgname}-%{version}.gemspec
+
 cd ext/ffi_yajl/ext/encoder
 %{__ruby} extconf.rb
 %{__make} V=1 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-ffi-yajl.git/commitdiff/fd4095973c3361497831e156419dbac907e8804a



More information about the pld-cvs-commit mailing list