From 78ce898005c3d13e78dc7168a9080b623e7964d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Mon, 16 Jun 2014 16:59:51 +0200 Subject: [PATCH] Update to mime-types 1.25.1. --- .gitignore | 1 + rubygem-mime-types.spec | 20 ++++++++++++-------- sources | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index a329ea0..8c61e78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ mime-types-1.16.gem /mime-types-1.19.gem +/mime-types-1.25.1.gem diff --git a/rubygem-mime-types.spec b/rubygem-mime-types.spec index 955a135..d88cc64 100644 --- a/rubygem-mime-types.spec +++ b/rubygem-mime-types.spec @@ -4,19 +4,16 @@ Summary: Return the MIME Content-Type for a given filename Name: rubygem-%{gem_name} -Version: 1.19 -Release: 5%{?dist} +Version: 1.25.1 +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 -Requires: ruby(rubygems) -Requires: ruby(release) +Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: rubygems-devel BuildRequires: ruby(release) BuildRequires: rubygem(minitest) BuildArch: noarch -Provides: rubygem(%{gem_name}) = %{version} %description MIME::Types for Ruby manages a MIME Content-Type database that will return the @@ -54,12 +51,15 @@ find %{buildroot}%{gem_instdir}/{Rakefile,test} -type f | \ %check pushd .%{gem_instdir} -testrb -Ilib test/* +ruby -Ilib -rminitest/autorun -rfileutils -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' popd %files %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/Licence.rdoc +%dir %{gem_instdir}/docs +%doc %{gem_instdir}/docs/COPYING.txt +%doc %{gem_instdir}/docs/artistic.txt %doc %{gem_instdir}/README.rdoc %dir %{gem_instdir} %exclude %{gem_instdir}/.* @@ -68,13 +68,17 @@ popd %{gem_spec} %files doc +%doc %{gem_instdir}/Contributing.rdoc +%{gem_instdir}/Gemfile %{gem_instdir}/Rakefile -%{gem_instdir}/mime-types.gemspec %{gem_instdir}/Manifest.txt %{gem_instdir}/test %{gem_docdir} %changelog +* Mon Jun 16 2014 Vít Ondruch - 1.25.1-1 +- Update to mime-types 1.25.1. + * Sun Jun 08 2014 Fedora Release Engineering - 1.19-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index ed9db64..2fd39e1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bac5de01159cc2df1199b84e326e66ea mime-types-1.19.gem +54a5c6e16bd0992345f8da6489773167 mime-types-1.25.1.gem