[packages/ruby-yajl] cleanup bugus deps (those are devel deps)

glen glen at pld-linux.org
Mon May 6 13:28:48 CEST 2013


commit 3a9aefaac131073ce67d4761241562eab5eb7bf6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 6 14:28:12 2013 +0300

    cleanup bugus deps (those are devel deps)

 ruby-yajl.spec | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/ruby-yajl.spec b/ruby-yajl.spec
index 4b52898..6572e71 100644
--- a/ruby-yajl.spec
+++ b/ruby-yajl.spec
@@ -2,7 +2,7 @@
 Summary:	Ruby C bindings to the excellent Yajl JSON stream-based parser library
 Name:		ruby-yajl
 Version:	1.1.0
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Languages
 Source0:	%{rbname}-%{version}.gem
@@ -11,10 +11,12 @@ URL:		http://rdoc.info/github/brianmario/yajl-ruby
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
 BuildRequires:	ruby-devel
-Requires:	ruby-activesupport
-Requires:	ruby-json
-Requires:	ruby-rake-compiler >= 0.7.5
-Requires:	ruby-rspec >= 2.0.0
+%if %{with tests}
+BuildRequires:	ruby-activesupport
+BuildRequires:	ruby-json
+BuildRequires:	ruby-rake-compiler >= 0.7.5
+BuildRequires:	ruby-rspec >= 2.0.0
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-yajl.git/commitdiff/3a9aefaac131073ce67d4761241562eab5eb7bf6



More information about the pld-cvs-commit mailing list