Update to mime-types 1.19.

epel9
Vít Ondruch 12 years ago
parent 9abcf06776
commit a788b4cdc2

1
.gitignore vendored

@ -1 +1,2 @@
mime-types-1.16.gem
/mime-types-1.19.gem

@ -1,20 +0,0 @@
--- mime-types-1.16/Rakefile.orig 2009-12-30 01:26:20.899295211 -0800
+++ mime-types-1.16/Rakefile 2009-12-30 01:31:15.779210960 -0800
@@ -46,17 +46,6 @@
p.spec_extras[:extra_rdoc_files] = MANIFEST.grep(/txt$/) - ["Manifest.txt"]
end
-begin
- require 'rcov/rcovtask'
- Rcov::RcovTask.new do |t|
- t.libs << 'test'
- t.test_files = hoe.test_files
- t.verbose = true
- end
-rescue LoadError
- puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
-end
-
=begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)

@ -5,17 +5,12 @@
Summary: Return the MIME Content-Type for a given filename
Name: rubygem-%{gem_name}
Version: 1.16
Release: 8%{?dist}
Version: 1.19
Release: 1%{?dist}
Group: Development/Languages
License: GPL+ or Ruby or Artistic
URL: http://mime-types.rubyforge.org/
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
# Currently produces a "RCov is not available" warning and fails with newer rcov
# installed. Reported upstream via
# http://rubyforge.org/tracker/?func=detail&aid=27623&group_id=293&atid=1191
Patch0: mime-types-1.16-no_rcov.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby(rubygems)
Requires: ruby(abi) = %{rubyabi}
BuildRequires: rubygems-devel
@ -52,9 +47,6 @@ gem install -V \
--force --rdoc \
%{SOURCE0}
pushd .%{gem_instdir}
%patch0 -p1
%build
%install
@ -66,35 +58,32 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
find %{buildroot}%{gem_instdir}/{Rakefile,test} -type f | \
xargs -n 1 sed -i -e '/^#! \/usr\/bin\/env .*/d'
%clean
rm -rf %{buildroot}
%check
pushd .%{gem_instdir}
testrb -Ilib test/*
popd
%files
%defattr(-,root,root,-)
%doc %{gem_instdir}/History.txt
%doc %{gem_instdir}/Install.txt
%doc %{gem_instdir}/Licence.txt
%doc %{gem_instdir}/README.txt
%doc %{gem_instdir}/History.rdoc
%doc %{gem_instdir}/Licence.rdoc
%doc %{gem_instdir}/README.rdoc
%dir %{gem_instdir}
%exclude %{gem_instdir}/.*
%{gem_libdir}
%{gem_cache}
%exclude %{gem_cache}
%{gem_spec}
%files doc
%defattr(-,root,root,-)
%{gem_instdir}/Rakefile
%{gem_instdir}/setup.rb
%{gem_instdir}/mime-types.gemspec
%{gem_instdir}/Manifest.txt
%{gem_instdir}/test
%{gem_docdir}
%changelog
* Fri Oct 26 2012 Vít Ondruch <vondruch@redhat.com> - 1.19-1
- Update to mime-types 1.19.
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

@ -1 +1 @@
2c9b8568a76cc632578a292db4a71b9a mime-types-1.16.gem
bac5de01159cc2df1199b84e326e66ea mime-types-1.19.gem

Loading…
Cancel
Save