[rubygem-rabbit] Always call xvfb-run at %check

Mamoru TASAKA mtasaka at fedoraproject.org
Tue Mar 18 09:13:31 UTC 2014


commit 6dd1ccda6e1c20d6130172393aebd494b4606014
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Tue Mar 18 18:13:22 2014 +0900

    Always call xvfb-run at %check

 rubygem-rabbit.spec |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/rubygem-rabbit.spec b/rubygem-rabbit.spec
index dbf9c60..6291dfa 100644
--- a/rubygem-rabbit.spec
+++ b/rubygem-rabbit.spec
@@ -6,7 +6,7 @@ BuildRequires:	%1 \
 
 Name:		rubygem-%{gem_name}
 Version:	2.1.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 
 Summary:	RD-document-based presentation application
 # CC-BY: rubykaigi2011-background-white.jpg and
@@ -45,9 +45,7 @@ Requires:	rubygem(net-irc)
 BuildRequires:	rubygem(test-unit)
 BuildRequires:	rubygem(test-unit-notify)
 BuildRequires:	rubygem(test-unit-rr)
-%if 0%{?fedora} <= 19
 BuildRequires:	xorg-x11-server-Xvfb
-%endif
 
 BuildArch:	noarch
 Provides:	rubygem(%{gem_name}) = %{version}
@@ -117,9 +115,7 @@ done
 # unpack here
 pushd .%{gem_instdir}
 gzip -dc %{SOURCE1} | tar -xf -
-%if 0%{?fedora} <= 19
 xvfb-run \
-%endif
 	ruby test/run-test.rb
 popd
 
@@ -176,6 +172,9 @@ exit 0
 %doc	%{gem_instdir}/sample/	
 
 %changelog
+* Tue Mar 17 2014 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.1.2-2
+- Always call xvfb-run at %%check
+
 * Mon Mar 17 2014 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.1.2-1
 - 2.1.2
 


More information about the scm-commits mailing list