Hello community,
here is the log from the commit of package rubygem-mime-types-1 for
openSUSE:Factory checked in at 2014-03-25 13:28:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-mime-types-1 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-mime-types-1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-mime-types-1"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-mime-types-1/rubygem-mime-types-1.changes
2013-11-30 18:10:47.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-mime-types-1.new/rubygem-mime-types-1.changes
2014-03-25 13:28:09.000000000 +0100
@@ -1,0 +2,9 @@
+Mon Mar 24 19:04:07 UTC 2014 - [email protected]
+
+- updated to version 1.25.1
+ * Bugs:
+ * Fix an issue with priority comparison in the 1.x release series. Found by
+ sdbondi. This issue does not exist in the 2.x release series.
+ https://github.com/halostatue/mime-types/issues/47
+
+-------------------------------------------------------------------
Old:
----
mime-types-1.25.gem
New:
----
mime-types-1.25.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-mime-types-1.spec ++++++
--- /var/tmp/diff_new_pack.Ex6nYG/_old 2014-03-25 13:28:09.000000000 +0100
+++ /var/tmp/diff_new_pack.Ex6nYG/_new 2014-03-25 13:28:09.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-mime-types-1
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: rubygem-mime-types-1
-Version: 1.25
+Version: 1.25.1
Release: 0
%define mod_name mime-types
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 1
+BuildRequires: ruby-macros >= 3
BuildRequires: rubygem(rdoc) > 3.10
Url: http://mime-types.rubyforge.org/
Source: http://rubygems.org/gems/%{mod_full_name}.gem
@@ -33,14 +33,15 @@
%description
This library allows for the identification of a file's likely MIME content
-type. This is release 1.25, adding experimental caching and lazy loading
-functionality.
-The caching and lazy loading features were initially implemented by Greg
-Brockman (gdb). As these features are experimental, they are disabled by
-default and must be enabled through the use of environment variables. The
-cache
-is invalidated on a per-version basis; the cache for version 1.25 will not be
-reused for version 1.26.
+type. This is release 1.25.1, fixing an issue with priority comparison for
+mime-types 1.x. The current release is 2.0, which only supports Ruby 1.9 or
+later.
+Release 1.25.1 contains all features of 1.25, including the experimental
+caching and lazy loading functionality. The caching and lazy loading features
+were initially implemented by Greg Brockman (gdb). As these features are
+experimental, they are disabled by default and must be enabled through the use
+of environment variables. The cache is invalidated on a per-version basis; the
+cache for version 1.25 will not be reused for any later version.
To use lazy loading, set the environment variable +RUBY_MIME_TYPES_LAZY_LOAD+
to any value other than 'false'. When using lazy loading, the initial startup
of MIME::Types is around 12–25× faster than normal startup (on my system,
@@ -67,8 +68,7 @@
complete; don't hesitate to ask to add additional information. This library
follows the IANA collection of MIME types (see below for reference).
MIME::Types for Ruby was originally based on MIME::Types for Perl by Mark
-Overmeer, copyright 2001 - 2009. As of version 1.15, the data format for the
-MIME::Type list has changed and the synchronization will no longer happen.
+Overmeer, copyright 2001 - 2009.
MIME::Types is built to conform to the MIME types of RFCs 2045 and 2231. It
tracks the {IANA registry}[http://www.iana.org/assignments/media-types/]
({ftp}[ftp://ftp.iana.org/assignments/media-types]) with some unofficial types
@@ -102,23 +102,23 @@
%install
%gem_install -f
mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/History.rdoc
%buildroot/%{_docdir}/%{name}/History.rdoc
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc
%buildroot/%{_docdir}/%{name}/README.rdoc
+ln -s %{gem_base}/gems/%{mod_full_name}/History.rdoc
%buildroot/%{_docdir}/%{name}/History.rdoc
+ln -s %{gem_base}/gems/%{mod_full_name}/README.rdoc
%buildroot/%{_docdir}/%{name}/README.rdoc
%files
%defattr(-,root,root,-)
%{_docdir}/%{name}
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%exclude %{gem_base}/gems/%{mod_full_name}/test
+%{gem_base}/specifications/%{mod_full_name}.gemspec
%files doc
%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
%files testsuite
%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%{gem_base}/gems/%{mod_full_name}/test
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]