[rubygem-state_machine/el6] BR conditional for Fedora, should work now for epel versions

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


commit e6c8ad060caa96c14cd0247bccee4bc34c526a6e
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date:   Sat Jan 21 12:46:35 2012 -0430

    BR conditional for Fedora, should work now for epel versions

 rubygem-state_machine.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-state_machine.spec b/rubygem-state_machine.spec
index ef1dbd1..ca6016e 100644
--- a/rubygem-state_machine.spec
+++ b/rubygem-state_machine.spec
@@ -5,7 +5,7 @@
 Summary:       Adds support for creating state machines for attributes on any Ruby class
 Name:          rubygem-%{gemname}
 Version:       1.1.2
-Release:       1%{?dist}
+Release:       2%{?dist}
 Group:         Development/Languages
 License:       MIT
 URL:           http://www.pluginaweek.org
@@ -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}
 
@@ -75,9 +77,12 @@ rm -rf %{buildroot}
 %doc %{geminstdir}/Rakefile
 
 %changelog
+* Sat Jan 21 2012 Guillermo Gómez <gomix at fedoraproject.org> - 1.1.2-2
+- Added BR rubygem-bundler to run test suite in the future, excluding
+- epel versions, bundler not available yet
+
 * 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
 
 * 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