use recent bootstrap style

This commit is contained in:
Mamoru TASAKA 2023-12-19 15:42:40 +09:00
parent 7a6520b5f9
commit 82b557eebc
1 changed files with 5 additions and 5 deletions

View File

@ -4,9 +4,9 @@
%global gem_name cairo
#%%global gem_githash af3e3fc059
%global need_test_bootstrap 0
%bcond_with bootstrap
%if 0%{?fedora} >= 40
%global need_test_bootstrap 1
%bcond_with bootstrap
%endif
# Upstream GIT http://github.com/rcairo/
@ -27,7 +27,7 @@ Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
Source1: create-cairo-gem.sh
# FIXME
Source11: rcairo-%{version}-test-missing-files.tar.gz
# Source11 is generated by the below
# Source11 is generated by $bash %%SOURCE12 %%version
Source12: rcairo-create-missing-test-files.sh
Requires: ruby(release)
@ -45,7 +45,7 @@ BuildRequires: rubygem(test-unit-notify)
BuildRequires: rubygem(pkg-config)
BuildRequires: rubygem(native-package-installer)
# Circular dependency
%if 0%{?need_test_bootstrap} < 1
%if %{without bootstrap}
BuildRequires: rubygem(poppler)
# Make sure at least one font is available for test/test_context.rb:57
# `initialize': out of memory (NoMemoryError)
@ -138,7 +138,7 @@ rm -rf \
popd
%check
%if 0%{?need_test_bootstrap} >= 1
%if %{with bootstrap}
exit 0
%endif