commit 1c0edc04001a2fdd86e214b21d09cda25b477f18
Author: Jakub Bogusz <[email protected]>
Date:   Fri Jun 15 21:01:36 2018 +0200

    - disable tests (not present in .gem), updated some dependencies

 ruby-rspec-expectations.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ruby-rspec-expectations.spec b/ruby-rspec-expectations.spec
index 95e3ab2..8483102 100644
--- a/ruby-rspec-expectations.spec
+++ b/ruby-rspec-expectations.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without tests           # build without tests
+%bcond_with    tests           # unit tests [not present when repackaging .gem 
file]
 # test needs rspec-core, however rspec-core depends on rspec-mocks
 # runtime part of rspec-mocks does not depend on rspec-core
 
@@ -17,11 +17,15 @@ Source0:    
http://rubygems.org/gems/%{pkgname}-%{version}.gem
 URL:           http://github.com/rspec/rspec-expectations
 BuildRequires: rpm-rubyprov
 BuildRequires: rpmbuild(macros) >= 1.656
+BuildRequires: ruby >= 1:1.8.7
 %if %{with tests}
-BuildRequires: ruby-minitest
+BuildRequires: ruby-minitest >= 5.2
 BuildRequires: ruby-rspec
+BuildRequires: ruby-rspec-support >= 3.7.0
 %endif
-Requires:      ruby-diff-lcs >= 1.1.3
+# .gemspec contains: s.add_dependency(%q<diff-lcs>.freeze, ["< 2.0", ">= 
1.2.0"])
+# but only "rubygems(diff-lcs) < 2.0" is detected, "rubygems(diff-lcs) >= 
1.2.0" not...
+Requires:      ruby-diff-lcs >= 1.2.0
 Requires:      ruby-diff-lcs < 2.0
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rspec-expectations.git/commitdiff/1c0edc04001a2fdd86e214b21d09cda25b477f18

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to