#3 Made the tests optional, specially for bootstrapping.
Closed a month ago by brandfbb. Opened a month ago by brandfbb.
rpms/ brandfbb/rubygem-concurrent-ruby epel8-playground  into  master

file modified
+11 -3

@@ -1,9 +1,11 @@ 

  # Generated from concurrent-ruby-1.0.0.gem by gem2rpm -*- rpm-spec -*-

  %global gem_name concurrent-ruby

  

+ %bcond_with tests

+ 

  Name: rubygem-%{gem_name}

  Version: 1.1.5

- Release: 1%{?dist}

+ Release: 2%{?dist}

  Summary: Modern concurrency tools for Ruby

  License: MIT

  URL: http://www.concurrent-ruby.com

@@ -14,10 +16,13 @@ 

  BuildRequires: ruby(release)

  BuildRequires: rubygems-devel

  BuildRequires: ruby >= 1.9.3

+ %if %{with tests}

  BuildRequires: rubygem(rspec)

  BuildRequires: rubygem(timecop)

+ %endif

  BuildArch: noarch

  

+ 

  %description

  Modern concurrency tools including agents, futures, promises, thread pools,

  actors, supervisors, and more.

@@ -50,7 +55,7 @@ 

  cp -a .%{gem_dir}/* \

          %{buildroot}%{gem_dir}/

  

- 

+ %if %{with tests}

  %check

  pushd .%{gem_instdir}

  ln -s %{_builddir}/spec spec

@@ -73,7 +78,7 @@ 

  

  

  popd

- 

+ %endif

  %files

  %dir %{gem_instdir}

  %license %{gem_instdir}/LICENSE.md

@@ -91,6 +96,9 @@ 

  %{gem_instdir}/Rakefile

  

  %changelog

+ * Mon Sep 16 2019 Vít Ondruch <vondruch@redhat.com> - 1.1.5-2

+ - Made the tests optional.

+ 

  * Mon Sep 16 2019 Vít Ondruch <vondruch@redhat.com> - 1.1.5-1

  - Update to Concurrent Ruby 1.1.5.

  

no initial comment

Pull-Request has been closed by brandfbb

a month ago

Thx, but could you please elaborate? Is there any dependency loop?