commit
55d04d2f18
@ -2,7 +2,7 @@
|
|||||||
%{?_with_bootstrap: %global bootstrap 1}
|
%{?_with_bootstrap: %global bootstrap 1}
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 0.4.2
|
Version: 0.4.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Refer to any model with a URI: gid://app/class/id
|
Summary: Refer to any model with a URI: gid://app/class/id
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/rails/%{gem_name}
|
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}
|
Summary: Documentation for %{name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for %{name}.
|
Documentation for %{name}.
|
||||||
|
|
||||||
@ -37,7 +35,7 @@ gem build ../%{gem_name}-%{version}.gemspec
|
|||||||
mkdir -p %{buildroot}%{gem_dir}
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
cp -a .%{gem_dir}/* \
|
cp -a .%{gem_dir}/* \
|
||||||
%{buildroot}%{gem_dir}/
|
%{buildroot}%{gem_dir}/
|
||||||
%if ! 0%{?bootstrap}
|
%if 0%{?bootstrap}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
@ -61,5 +59,8 @@ popd
|
|||||||
%doc %{gem_instdir}/README.md
|
%doc %{gem_instdir}/README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Aug 21 2020 tuShenmei <tushenmei@huawei.com> - 0.4.2-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user