[rubygem-mime-types/epel7] Import to RHEL7 branch from F19 branch

tdawson tdawson at fedoraproject.org
Mon Jul 21 14:46:43 UTC 2014


commit a953c2016c01fad47f8e957fde2fc90780bc1a8f
Author: Troy Dawson <tdawson at redhat.com>
Date:   Mon Jul 21 09:46:33 2014 -0500

    Import to RHEL7 branch from F19 branch

 rubygem-mime-types.spec |   26 ++++++++------------------
 sources                 |    2 +-
 2 files changed, 9 insertions(+), 19 deletions(-)
---
diff --git a/rubygem-mime-types.spec b/rubygem-mime-types.spec
index d88cc64..93ef854 100644
--- a/rubygem-mime-types.spec
+++ b/rubygem-mime-types.spec
@@ -4,16 +4,19 @@
 
 Summary: Return the MIME Content-Type for a given filename
 Name: rubygem-%{gem_name}
-Version: 1.25.1
-Release: 1%{?dist}
+Version: 1.19
+Release: 3%{?dist}
 Group: Development/Languages
 License: GPL+ or Ruby or Artistic
 URL: http://mime-types.rubyforge.org/
-Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
+Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
+Requires: ruby(rubygems)
+Requires: ruby(release)
 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
@@ -51,15 +54,12 @@ find %{buildroot}%{gem_instdir}/{Rakefile,test} -type f | \
 
 %check
 pushd .%{gem_instdir}
-ruby -Ilib -rminitest/autorun -rfileutils -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'
+testrb -Ilib test/*
 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,23 +68,13 @@ 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 <vondruch at redhat.com> - 1.25.1-1
-- Update to mime-types 1.25.1.
-
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.19-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.19-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
 * Thu Feb 28 2013 Vít Ondruch <vondruch at redhat.com> - 1.19-3
 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
 
diff --git a/sources b/sources
index 2fd39e1..ed9db64 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-54a5c6e16bd0992345f8da6489773167  mime-types-1.25.1.gem
+bac5de01159cc2df1199b84e326e66ea  mime-types-1.19.gem


More information about the scm-commits mailing list