This commit is contained in:
Mamoru TASAKA 2015-10-11 23:19:01 +09:00
commit 48a512d3f8
3 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View file

@ -28,3 +28,4 @@
/pango-2.2.5.gem
/pango-3.0.4.gem
/pango-3.0.5.gem
/pango-3.0.7.gem

View file

@ -3,12 +3,12 @@
%global gem_name pango
%global glibminver 3.0.5
%global glibminver 3.0.7
%global obsoleteevr 0.90.7-1.999
Summary: Ruby binding of pango-1.x
Name: rubygem-%{gem_name}
Version: 3.0.5
Version: 3.0.7
Release: 1%{?dist}
Group: Development/Languages
# from README
@ -66,7 +66,7 @@ gem unpack %{SOURCE0}
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
# Allow ruby-gnome2 no less than ones
sed -i -e 's|= 3\.0\.5|>= 3.0.5|' %{gem_name}.gemspec
sed -i -e 's|= 3\.0\.7|>= 3.0.7|' %{gem_name}.gemspec
# Fix wrong shebang
grep -rl /usr/local/bin sample | \
@ -124,6 +124,8 @@ popd
# test_default(TestLanguage) [./test/test-language.rb] needs LANG=ja_JP.UTF-8, for example
LANG=en_US.UTF-8
sed -i test/run-test.rb \
-e '\@exit Test::Unit::AutoRunner@s|,[ \t]*File\.join(.*"test")||'
ruby -Ilib:test:ext/%{gem_name} ./test/run-test.rb
%files
@ -154,6 +156,9 @@ ruby -Ilib:test:ext/%{gem_name} ./test/run-test.rb
%{gem_instdir}/test/
%changelog
* Sun Oct 11 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.7-1
- 3.0.7
* Wed Sep 23 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.5-1
- 3.0.5

View file

@ -1 +1 @@
540cd004d762d012e8c919ea375cf1bf pango-3.0.5.gem
f9a160699b27cb7985ece4b014a0c83d pango-3.0.7.gem