[rubygem-state_machine] Conditional BR for Fedora

Guillermo Gómez gomix at fedoraproject.org
Sat Jan 21 17:01:27 UTC 2012


commit 97a4f330f306ce41814e6997a7f3a2ffc16f6861
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date:   Sat Jan 21 12:31:06 2012 -0430

    Conditional BR for Fedora

 rubygem-state_machine.spec |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-state_machine.spec b/rubygem-state_machine.spec
index ef1dbd1..3996d62 100644
--- a/rubygem-state_machine.spec
+++ b/rubygem-state_machine.spec
@@ -15,7 +15,9 @@ Requires:      ruby(abi) = 1.8
 Requires:      rubygems
 Requires:      graphviz-ruby
 BuildRequires: rubygems, rubygem-rake, graphviz-ruby
+%if 0%{?fedora} 
 BuildRequires: rubygem(bundler)
+%endif
 BuildArch:     noarch
 Provides:      rubygem(%{gemname}) = %{version}
 
@@ -77,7 +79,8 @@ rm -rf %{buildroot}
 %changelog
 * Sat Jan 21 2012 Guillermo Gómez <gomix at fedoraproject.org> - 1.1.2-1
 - Updated version 1.1.2
-- Added BR rubygem-bundler to run test suite in the future
+- Added BR rubygem-bundler to run test suite in the future, excluding
+- epel versions, bundler not available yet
 
 * Wed Jan 04 2012 Guillermo Gómez <gomix at fedoraproject.org> - 1.1.1-1
 - Updated version 1.1.1


More information about the scm-commits mailing list