From dd510bf95e448cfca8c37833a59b5688f4dcb344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 7 Sep 2012 11:45:24 +0200 Subject: [PATCH] Update to progressbar 0.11.0. --- .gitignore | 1 + rubygem-progressbar-test-load-path-fix.patch | 9 ------ rubygem-progressbar.spec | 32 ++++++++------------ sources | 2 +- 4 files changed, 15 insertions(+), 29 deletions(-) delete mode 100644 rubygem-progressbar-test-load-path-fix.patch diff --git a/.gitignore b/.gitignore index 4f6188e..0108d54 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /progressbar-0.9.0.gem /rubygem-progressbar-test-load-path-fix.patch +/progressbar-0.11.0.gem diff --git a/rubygem-progressbar-test-load-path-fix.patch b/rubygem-progressbar-test-load-path-fix.patch deleted file mode 100644 index d16e481..0000000 --- a/rubygem-progressbar-test-load-path-fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -*** test/test.rb 2010-10-13 16:27:17.869975088 +0200 ---- test/test.rb.new 2010-10-13 16:27:10.736981525 +0200 -*************** -*** 1,3 **** ---- 1,4 ---- -+ $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') - require 'test/unit' - require 'progressbar' - diff --git a/rubygem-progressbar.spec b/rubygem-progressbar.spec index e2d3b2f..1e04ea3 100644 --- a/rubygem-progressbar.spec +++ b/rubygem-progressbar.spec @@ -3,13 +3,12 @@ Summary: Ruby text progress bar generator library Name: rubygem-%{gem_name} -Version: 0.9.0 -Release: 6%{?dist} +Version: 0.11.0 +Release: 1%{?dist} Group: Development/Languages License: GPLv2 or Ruby URL: http://github.com/peleteiro/progressbar Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem -Patch0: %{name}-test-load-path-fix.patch Requires: ruby(abi) = %{rubyabi} Requires: ruby(rubygems) BuildRequires: rubygems-devel @@ -37,9 +36,6 @@ gem install \ --install-dir ./%{gem_dir} \ -V --force --rdoc \ %{SOURCE0} -pushd .%{gem_instdir} -%patch0 -popd %build @@ -47,35 +43,33 @@ popd rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir} -iconv --from=EUC-JP --to=UTF-8 %{buildroot}%{gem_instdir}/README.ja.rd > %{buildroot}%{gem_instdir}/README.ja.rd.utf8 && \ -touch -r %{buildroot}%{gem_instdir}/README.ja.rd %{buildroot}%{gem_instdir}/README.ja.rd.utf8 && \ -mv -f %{buildroot}%{gem_instdir}/README.ja.rd.utf8 %{buildroot}%{gem_instdir}/README.ja.rd %check -pushd %{buildroot}/%{gem_instdir}/test -ruby test.rb +pushd .%{gem_instdir} +ruby -Ilib test/test.rb popd -%clean -rm -rf %{buildroot} - %files -%defattr(-, root, root, -) %dir %{gem_instdir} +%exclude %{gem_instdir}/.* %{gem_libdir} -%doc %{gem_instdir}/ChangeLog %doc %{gem_instdir}/LICENSE -%doc %{gem_instdir}/README.en.rd -%doc %{gem_instdir}/README.ja.rd %{gem_cache} %{gem_spec} %files doc -%defattr(-, root, root, -) %{gem_docdir} +%doc %{gem_instdir}/ChangeLog +%doc %{gem_instdir}/Gemfile* +%doc %{gem_instdir}/README.rdoc +%{gem_instdir}/Rakefile +%{gem_instdir}/%{gem_name}.gemspec %{gem_instdir}/test %changelog +* Fri Sep 07 2012 Vít Ondruch - 0.11.0-1 +- Update to progressbar 0.11.0. + * Sat Jul 21 2012 Fedora Release Engineering - 0.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 95ff4ac..0d9f55d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -edcd2732e4bdd9c3e2940f82ab99e834 progressbar-0.9.0.gem +b0aeb7f9bb4b6c5562582a009132c285 progressbar-0.11.0.gem