[rubygem-Ascii85/el6] do not run test on el6 where is no rspec

Miroslav Suchý msuchy at fedoraproject.org
Fri Aug 24 12:50:14 UTC 2012


commit 57c8d62ee997e33ac2cceed65fa40b12a20af5c1
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Fri Aug 24 14:49:37 2012 +0200

    do not run test on el6 where is no rspec

 rubygem-Ascii85.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-Ascii85.spec b/rubygem-Ascii85.spec
index f0a5e81..5c6f4ef 100644
--- a/rubygem-Ascii85.spec
+++ b/rubygem-Ascii85.spec
@@ -10,7 +10,7 @@
 Summary: Methods to encode/decode Adobe's binary-to-text encoding of the same name
 Name: rubygem-%{gem_name}
 Version: 1.0.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://ascii85.rubyforge.org/
@@ -29,8 +29,9 @@ BuildRequires: rubygems-devel
 BuildArch: noarch
 Provides: rubygem(%{gem_name}) = %{version}
 BuildRequires: %{_bindir}/pod2man
+%if 0%{?fedora}
 BuildRequires: %{_bindir}/rspec
-
+%endif
 %description
 Ascii85 is a simple gem that provides methods for encoding/decoding Adobe's
 binary-to-text encoding of the same name.
@@ -81,7 +82,9 @@ install -D -m 644 ascii85.1 %{buildroot}%{_mandir}/man1/ascii85.1
 
 %check
 pushd ./%{gem_instdir}
+%if 0%{?fedora}
 rspec -I. spec
+%endif
 popd
 
 
@@ -102,6 +105,9 @@ popd
 %{gem_instdir}/spec
 
 %changelog
+* Fri Aug 24 2012 Miroslav Suchý <msuchy at redhat.com> 1.0.1-6
+- do not run test on rhel, where is no rspec (msuchy at redhat.com)
+
 * Fri Aug 24 2012 Miroslav Suchý <msuchy at redhat.com> 1.0.1-5
 - 850469 - in BR do s/perl/pod2man/ (msuchy at redhat.com)
 - 850469 - set man generation flags (msuchy at redhat.com)


More information about the scm-commits mailing list