!2 fix build fail

Merge pull request !2 from lyn/master
This commit is contained in:
openeuler-ci-bot 2020-09-07 12:05:51 +08:00 committed by Gitee
commit e50da0498a

View File

@ -1,7 +1,8 @@
%bcond_with bootstrap
%global gem_name loofah
Name: rubygem-%{gem_name}
Version: 2.2.3
Release: 1
Release: 2
Summary: Manipulate and transform HTML/XML documents and fragments
License: MIT
URL: https://github.com/flavorjones/loofah
@ -37,11 +38,12 @@ gem build ../%{gem_name}-%{version}.gemspec
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%if %{with bootstrap}
%check
pushd .%{gem_instdir}
ruby -Itest -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
popd
%endif
%files
%dir %{gem_instdir}
@ -63,5 +65,8 @@ popd
%{gem_instdir}/test
%changelog
* Sat Sep 5 2020 yanan li <liyanan032@huawei.com> - 2.2.3-2
- Fix build fail
* Tue Aug 18 2020 geyanan <geyanan2@huawei.com> - 2.2.3-1
- package init