!2 Fix build fail

Merge pull request !2 from lyn/master
This commit is contained in:
openeuler-ci-bot 2020-09-08 14:54:49 +08:00 committed by Gitee
commit 9fb7582796

View File

@ -2,7 +2,7 @@
%{?_with_bootstrap: %global bootstrap 1}
Name: rubygem-%{gem_name}
Version: 1.0.2
Release: 1
Release: 2
Summary: Your personal string matching expert
License: MIT
URL: https://github.com/sinatra/mustermann
@ -27,8 +27,8 @@ Documentation for %{name}.
%prep
gem unpack %{SOURCE0}
%setup -q -D -T -n %{gem_name}-%{version} -b 1
ln -s %{gem_name}-%{version}/support support
ln -s %{gem_name}-%{version}/mustermann-contrib mustermann-contrib
ln -s %{_builddir}/%{gem_name}-%{version}/support ../support
ln -s %{_builddir}/%{gem_name}-%{version}/mustermann-contrib ../mustermann-contrib
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
%build
@ -79,5 +79,8 @@ popd
%{gem_instdir}/spec
%changelog
* Tue Sep 8 2020 yanan li <liyanan032@huawei.com> - 1.0.2-2
- fix build fail
* Wed Aug 19 2020 geyanan <geyanan2@huawei.com> - 1.0.2-1
- package init