Enable tests again

This commit is contained in:
Mamoru TASAKA 2020-01-17 21:43:20 +09:00
parent 679566e7fd
commit af8a085d54

View File

@ -12,7 +12,7 @@
Summary: Ruby bindings for cairo
Name: rubygem-%{gem_name}
Version: %{gemver}
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2 or Ruby
URL: http://cairographics.org/rcairo/
%if 1
@ -47,7 +47,8 @@ BuildRequires: rubygem(test-unit)
BuildRequires: rubygem(test-unit-notify)
BuildRequires: rubygem(pkg-config)
BuildRequires: rubygem(native-package-installer)
%if 0
# Circular dependency
%if 1
BuildRequires: rubygem(poppler)
# Make sure at least one font is available for test/test_context.rb:57
# `initialize': out of memory (NoMemoryError)
@ -166,7 +167,6 @@ rm -f ./TMPINSTDIR/%{gem_instdir}/{Makefile*,extconf.rb}
cp -a ./TMPINSTDIR/* %{buildroot}/
%check
exit 0
%if 0%{?fedora} >= 21
export RUBYLIB=$(pwd)/TMPINSTDIR/%{gem_instdir}:$(pwd)/TMPINSTDIR/%{gem_extdir_mri}/
%else
@ -224,6 +224,9 @@ ruby ./test/run-test.rb
%{header_dir}/rb_cairo.h
%changelog
* Fri Jan 17 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.4-4
- Enable tests again
* Fri Jan 17 2020 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.16.4-3
- F-32: rebuild against ruby27
- Once disable tests for circular dependency