fix build fail

This commit is contained in:
lyn1001 2020-09-05 18:57:10 +08:00
parent 700ad2cdeb
commit 2b20f5deb2

View File

@ -2,7 +2,7 @@
%{?_with_bootstrap: %global bootstrap 1}
Name: rubygem-%{gem_name}
Version: 0.4.2
Release: 1
Release: 2
Summary: Refer to any model with a URI: gid://app/class/id
License: MIT
URL: https://github.com/rails/%{gem_name}
@ -21,8 +21,6 @@ URIs for your models makes it easy to pass references around.
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}.
@ -37,7 +35,7 @@ gem build ../%{gem_name}-%{version}.gemspec
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%if ! 0%{?bootstrap}
%if 0%{?bootstrap}
%check
pushd .%{gem_instdir}
@ -61,5 +59,8 @@ popd
%doc %{gem_instdir}/README.md
%changelog
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 0.4.2-2
- fix build fail
* Fri Aug 21 2020 tuShenmei <tushenmei@huawei.com> - 0.4.2-1
- package init