Change-Id: I31879064da056528e4b0fc76d44835b90961a402
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3044
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sarah Choi <sarahc@vmware.com>
| ... | ... |
@@ -5,7 +5,7 @@ |
| 5 | 5 |
Summary: Unicode::DisplayWidth. |
| 6 | 6 |
Name: rubygem-unicode-display_width |
| 7 | 7 |
Version: 1.1.3 |
| 8 |
-Release: 1%{?dist}
|
|
| 8 |
+Release: 2%{?dist}
|
|
| 9 | 9 |
Group: Development/Languages |
| 10 | 10 |
License: MIT |
| 11 | 11 |
Vendor: VMware, Inc. |
| ... | ... |
@@ -28,17 +28,16 @@ Determines the monospace display width of a string in Ruby. Implementation based |
| 28 | 28 |
gem install -V --local --force --install-dir %{buildroot}/%{gemdir} %{SOURCE0}
|
| 29 | 29 |
|
| 30 | 30 |
%check |
| 31 |
-pushd /usr/src/photon/BUILDROOT/rubygem-rbvmomi-%{version}-%{release}.x86_64/usr/lib/ruby/gems/2.3.0/gems/rbvmomi-%{version}/
|
|
| 32 |
-gem install yard |
|
| 33 |
-gem install jeweler |
|
| 34 |
-gem install rake |
|
| 31 |
+cd %{buildroot}%{gemdir}/gems/unicode-display_width-%{version}
|
|
| 32 |
+gem install yard jeweler rake rspec |
|
| 35 | 33 |
rake test |
| 36 |
-popd |
|
| 37 | 34 |
|
| 38 | 35 |
%files |
| 39 | 36 |
%defattr(-,root,root,-) |
| 40 | 37 |
%{gemdir}
|
| 41 | 38 |
|
| 42 | 39 |
%changelog |
| 40 |
+* Fri Jun 23 2017 Chang Lee <changlee@vmware.com> 1.1.3-2 |
|
| 41 |
+- Updated %check |
|
| 43 | 42 |
* Tue Mar 28 2017 Xiaolin Li <xiaolinl@vmware.com> 1.1.3-1 |
| 44 | 43 |
- Initial build |