[packages/ruby-net-scp] test bcond header

glen glen at pld-linux.org
Sun Apr 14 13:57:43 CEST 2013


commit 238af4ba1a0a318a8e125295b0e47a21d362ef76
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 14 14:57:36 2013 +0300

    test bcond header

 ruby-net-scp.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/ruby-net-scp.spec b/ruby-net-scp.spec
index 4d8d156..acada29 100644
--- a/ruby-net-scp.spec
+++ b/ruby-net-scp.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with	tests		# build without tests
+
 %define	gem_name net-scp
 Summary:	A pure Ruby implementation of the SCP client protocol
 Name:		ruby-%{gem_name}
@@ -14,6 +18,7 @@ BuildRequires:	rpmbuild(macros) >= 1.656
 BuildRequires:	ruby-minitest
 BuildRequires:	ruby-mocha
 BuildRequires:	ruby-net-ssh
+BuildRequires:	ruby-rubygems
 %endif
 Requires:	ruby-net-ssh
 BuildArch:	noarch
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-net-scp.git/commitdiff/238af4ba1a0a318a8e125295b0e47a21d362ef76



More information about the pld-cvs-commit mailing list